Skip to content

Commit

Permalink
Fix mojo LSP configuration to conform to magic introduction (helix-ed…
Browse files Browse the repository at this point in the history
…itor#12195)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
  • Loading branch information
2 people authored and GladkihEgor committed Jan 4, 2025
1 parent 6393714 commit d16c363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
| mermaid || | | |
| meson || || `mesonlsp` |
| mint | | | | `mint` |
| mojo |||| `mojo-lsp-server` |
| mojo |||| `magic` |
| move || | | |
| msbuild || || |
| nasm ||| | |
Expand Down
4 changes: 2 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ 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" }
mojo-lsp = { command = "magic", args = ["run", "mojo-lsp-server"] }
nil = { command = "nil" }
nimlangserver = { command = "nimlangserver" }
nimlsp = { command = "nimlsp" }
Expand Down Expand Up @@ -412,7 +412,7 @@ language-servers = [ "mojo-lsp" ]
comment-token = "#"
indent = { tab-width = 4, unit = " " }
auto-format = true
formatter = { command = "mojo", args = ["format", "-q", "-"]}
formatter = { command = "magic", args = ["run", "mojo" , "format", "-q", "-"]}

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

0 comments on commit d16c363

Please sign in to comment.