diff --git a/README.md b/README.md index 364761ed6..af1cd9b51 100644 --- a/README.md +++ b/README.md @@ -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` | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index 0f7ac917a..88bf85344 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -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 diff --git a/doc/server-mapping.md b/doc/server-mapping.md index bb7c7d2fb..06f6d1472 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -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) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index 4639ec8d2..21c358c5e 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -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" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index bee33c902..4676e8a14 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -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",