Skip to content

Commit

Permalink
feat: add motoko-lsp support (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
f0i committed May 11, 2024
1 parent 5278047 commit 6c4d744
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/mason-lspconfig-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ mdx-analyzer mdx_analyzer
mesonlsp mesonlsp
millet millet
metamath-zero-lsp mm0_ls
motoko-lsp motoko_lsp
move-analyzer move_analyzer
mutt-language-server mutt_ls
neocmakelsp neocmake
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
| [mesonlsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mesonlsp) | [mesonlsp](https://mason-registry.dev/registry/list#mesonlsp) |
| [millet](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#millet) | [millet](https://mason-registry.dev/registry/list#millet) |
| [mm0_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mm0_ls) | [metamath-zero-lsp](https://mason-registry.dev/registry/list#metamath-zero-lsp) |
| [motoko_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#motoko_lsp) | [motoko-lsp](https://mason-registry.dev/registry/list#motoko-lsp) |
| [move_analyzer](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#move_analyzer) | [move-analyzer](https://mason-registry.dev/registry/list#move-analyzer) |
| [mutt_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#mutt_ls) | [mutt-language-server](https://mason-registry.dev/registry/list#mutt-language-server) |
| [neocmake](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#neocmake) | [neocmakelsp](https://mason-registry.dev/registry/list#neocmakelsp) |
Expand Down
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ return {
menhir = { "ocamllsp" },
meson = { "mesonlsp", "swift_mesonls" },
["metamath-zero"] = { "mm0_ls" },
motoko = { "motoko_lsp" },
move = { "move_analyzer" },
mustache = { "tailwindcss" },
muttrc = { "mutt_ls" },
Expand Down
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ M.lspconfig_to_package = {
["mdx_analyzer"] = "mdx-analyzer",
["millet"] = "millet",
["mm0_ls"] = "metamath-zero-lsp",
["motoko_lsp"] = "motoko-lsp",
["move_analyzer"] = "move-analyzer",
["mutt_ls"] = "mutt-language-server",
["neocmake"] = "neocmakelsp",
Expand Down

0 comments on commit 6c4d744

Please sign in to comment.