Skip to content

Commit

Permalink
feat: add nginx-language-server support (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
BBboy01 authored Jun 12, 2024
1 parent ce1b625 commit 37a336b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ local DEFAULT_SETTINGS = {
| Metamath Zero | `mm0_ls` |
| Move | `move_analyzer` |
| Mutt | `mutt_ls` |
| Nginx | `nginx_language_server` |
| Nickel | `nickel_ls` |
| Nim | `nim_langserver` |
| Nim | `nimls` |
Expand Down
1 change: 1 addition & 0 deletions doc/mason-lspconfig-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ motoko-lsp motoko_lsp
move-analyzer move_analyzer
mutt-language-server mutt_ls
neocmakelsp neocmake
nginx-language-server nginx_language_server
nickel-lang-lsp nickel_ls
nil nil_ls
nimlangserver nim_langserver
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
| [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) |
| [nginx_language_server](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#nginx_language_server) | [nginx-language-server](https://mason-registry.dev/registry/list#nginx-language-server) |
| [nickel_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#nickel_ls) | [nickel-lang-lsp](https://mason-registry.dev/registry/list#nickel-lang-lsp) |
| [nil_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#nil_ls) | [nil](https://mason-registry.dev/registry/list#nil) |
| [nim_langserver](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#nim_langserver) | [nimlangserver](https://mason-registry.dev/registry/list#nimlangserver) |
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 @@ -131,6 +131,7 @@ return {
mysql = { "sqlls", "sqls" },
ncl = { "nickel_ls" },
neomuttrc = { "mutt_ls" },
nginx = { "nginx_language_server" },
nickel = { "nickel_ls" },
nim = { "nim_langserver", "nimls" },
nix = { "nil_ls", "rnix" },
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 @@ -116,6 +116,7 @@ M.lspconfig_to_package = {
["mutt_ls"] = "mutt-language-server",
["neocmake"] = "neocmakelsp",
["nickel_ls"] = "nickel-lang-lsp",
["nginx_language_server"] = "nginx-language-server",
["nil_ls"] = "nil",
["nim_langserver"] = "nimlangserver",
["nimls"] = "nimlsp",
Expand Down

0 comments on commit 37a336b

Please sign in to comment.