Make use of harper via languages.toml

Harper supports a [bunch](https://writewithharper.com/docs/integrations/language-server#Supported-Languages) of languages, so let's use it by default for the most useful ones.
pull/13614/head
Julien Voisin 2025-05-25 23:50:43 +02:00 committed by GitHub
parent 8d58f6ce8d
commit 920dc6b796
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -1719,6 +1719,7 @@ source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4
name = "mail"
scope = "text.mail"
file-types = ["eml"]
language-servers = ["harper-ls"]
injection-regex = "mail|eml|email"
[[grammar]]
@ -1731,7 +1732,7 @@ scope = "source.md"
injection-regex = "md|markdown"
file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }]
roots = [".marksman.toml"]
language-servers = [ "marksman", "markdown-oxide" ]
language-servers = [ "harper-ls", "marksman", "markdown-oxide" ]
indent = { tab-width = 2, unit = " " }
block-comment-tokens = { start = "<!--", end = "-->" }
@ -3432,7 +3433,7 @@ injection-regex = "typ(st)?"
file-types = ["typst", "typ"]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
language-servers = ["tinymist"]
language-servers = [ "harper-ls", "tinymist" ]
indent = { tab-width = 2, unit = " " }
[language.auto-pairs]