diff --git a/README.md b/README.md index b81ecb01f..e82edd2e9 100644 --- a/README.md +++ b/README.md @@ -385,6 +385,7 @@ local DEFAULT_SETTINGS = { | SCSS | [`somesass_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#somesass_ls) | | Slint | [`slint_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#slint_lsp) | | Smithy | [`smithy_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#smithy_ls) | +| Snakeskin | [`snakeskin_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#snakeskin_ls) | | Snyk | [`snyk_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#snyk_ls) | | Solidity | [`solang`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#solang) | | Solidity | [`solc`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#solc) | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index 16434ee42..244586399 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -165,6 +165,7 @@ serve-d serve_d shopify-cli shopify_theme_ls slint-lsp slint_lsp smithy-language-server smithy_ls +snakeskin-cli snakeskin_ls snyk-ls snyk_ls solang solang solargraph solargraph diff --git a/doc/server-mapping.md b/doc/server-mapping.md index 4bccdd66c..d5d43f1b9 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -162,6 +162,7 @@ | [shopify_theme_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#shopify_theme_ls) | [shopify-cli](https://mason-registry.dev/registry/list#shopify-cli) | | [slint_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#slint_lsp) | [slint-lsp](https://mason-registry.dev/registry/list#slint-lsp) | | [smithy_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#smithy_ls) | [smithy-language-server](https://mason-registry.dev/registry/list#smithy-language-server) | +| [snakeskin_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#snakeskin_ls) | [snakeskin-cli](https://mason-registry.dev/registry/list#snakeskin-cli) | | [snyk_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#snyk_ls) | [snyk-ls](https://mason-registry.dev/registry/list#snyk-ls) | | [solang](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#solang) | [solang](https://mason-registry.dev/registry/list#solang) | | [solargraph](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#solargraph) | [solargraph](https://mason-registry.dev/registry/list#solargraph) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index 4b67a21dc..577b673a1 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -188,6 +188,7 @@ return { sml = { "millet" }, solidity = { "solang", "solc", "solidity", "solidity_ls", "solidity_ls_nomicfoundation" }, sql = { "sqlls", "sqls" }, + ss = { "snakeskin_ls" }, star = { "starlark_rust" }, stylus = { "tailwindcss" }, sugarss = { "stylelint_lsp", "tailwindcss" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index 1da05a54a..8530cde0e 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -165,6 +165,7 @@ M.lspconfig_to_package = { ["shopify_theme_ls"] = "shopify-cli", ["slint_lsp"] = "slint-lsp", ["smithy_ls"] = "smithy-language-server", + ["snakeskin_ls"] = "snakeskin-cli", ["snyk_ls"] = "snyk-ls", ["solang"] = "solang", ["solargraph"] = "solargraph", diff --git a/lua/mason-lspconfig/server_configurations/snakeskin_ls/init.lua b/lua/mason-lspconfig/server_configurations/snakeskin_ls/init.lua new file mode 100644 index 000000000..dd48b5bae --- /dev/null +++ b/lua/mason-lspconfig/server_configurations/snakeskin_ls/init.lua @@ -0,0 +1,5 @@ +return function() + return { + cmd = { "snakeskin-cli", "lsp", "--stdio" }, + } +end