mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 22:11:55 +04:00
Fix mojo LSP configuration to conform to magic introduction (#12195)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
cd1f6e8239
commit
a6f80c5bd9
@ -134,7 +134,7 @@
|
|||||||
| mermaid | ✓ | | | |
|
| mermaid | ✓ | | | |
|
||||||
| meson | ✓ | | ✓ | `mesonlsp` |
|
| meson | ✓ | | ✓ | `mesonlsp` |
|
||||||
| mint | | | | `mint` |
|
| mint | | | | `mint` |
|
||||||
| mojo | ✓ | ✓ | ✓ | `mojo-lsp-server` |
|
| mojo | ✓ | ✓ | ✓ | `magic` |
|
||||||
| move | ✓ | | | |
|
| move | ✓ | | | |
|
||||||
| msbuild | ✓ | | ✓ | |
|
| msbuild | ✓ | | ✓ | |
|
||||||
| nasm | ✓ | ✓ | | |
|
| nasm | ✓ | ✓ | | |
|
||||||
|
@ -62,7 +62,7 @@ marksman = { command = "marksman", args = ["server"] }
|
|||||||
metals = { command = "metals", config = { "isHttpEnabled" = true, metals = { inlayHints = { typeParameters = {enable = true} , hintsInPatternMatch = {enable = true} } } } }
|
metals = { command = "metals", config = { "isHttpEnabled" = true, metals = { inlayHints = { typeParameters = {enable = true} , hintsInPatternMatch = {enable = true} } } } }
|
||||||
mesonlsp = { command = "mesonlsp", args = ["--lsp"] }
|
mesonlsp = { command = "mesonlsp", args = ["--lsp"] }
|
||||||
mint = { command = "mint", args = ["ls"] }
|
mint = { command = "mint", args = ["ls"] }
|
||||||
mojo-lsp = { command = "mojo-lsp-server" }
|
mojo-lsp = { command = "magic", args = ["run", "mojo-lsp-server"] }
|
||||||
nil = { command = "nil" }
|
nil = { command = "nil" }
|
||||||
nimlangserver = { command = "nimlangserver" }
|
nimlangserver = { command = "nimlangserver" }
|
||||||
nimlsp = { command = "nimlsp" }
|
nimlsp = { command = "nimlsp" }
|
||||||
@ -412,7 +412,7 @@ language-servers = [ "mojo-lsp" ]
|
|||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = " " }
|
indent = { tab-width = 4, unit = " " }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
formatter = { command = "mojo", args = ["format", "-q", "-"]}
|
formatter = { command = "magic", args = ["run", "mojo" , "format", "-q", "-"]}
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "mojo"
|
name = "mojo"
|
||||||
|
Loading…
Reference in New Issue
Block a user