Skip to content

Commit

Permalink
Added mesonlsp as the default LSP for Meson (helix-editor#11416)
Browse files Browse the repository at this point in the history
* defaulted meson to JCWasmx86/mesonlsp

* generated docs for mesonlsp
  • Loading branch information
RaphGL authored and plul committed Oct 13, 2024
1 parent 1ba12f8 commit 1dd5b6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
| markdown.inline || | | |
| matlab |||| |
| mermaid || | | |
| meson || || |
| meson || || `mesonlsp` |
| mint | | | | `mint` |
| mojo |||| `mojo-lsp-server` |
| move || | | |
Expand Down
2 changes: 2 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ markdoc-ls = { command = "markdoc-ls", args = ["--stdio"] }
markdown-oxide = { command = "markdown-oxide" }
marksman = { command = "marksman", args = ["server"] }
metals = { command = "metals", config = { "isHttpEnabled" = true, metals = { inlayHints = { typeParameters = {enable = true} , hintsInPatternMatch = {enable = true} } } } }
mesonlsp = { command = "mesonlsp", args = ["--lsp"] }
mint = { command = "mint", args = ["ls"] }
mojo-lsp = { command = "mojo-lsp-server" }
nil = { command = "nil" }
Expand Down Expand Up @@ -2143,6 +2144,7 @@ injection-regex = "meson"
file-types = [{ glob = "meson.build" }, { glob = "meson.options" }, { glob = "meson_options.txt" }]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-servers = ["mesonlsp"]

[[grammar]]
name = "meson"
Expand Down

0 comments on commit 1dd5b6f

Please sign in to comment.