From ce1b6254afc0e7f4c91a273175361c18f20621ee Mon Sep 17 00:00:00 2001 From: Slava Maksimov Date: Wed, 12 Jun 2024 16:08:01 +0300 Subject: [PATCH] feat: add shopify_theme_ls mapping (#412) --- README.md | 1 + doc/mason-lspconfig-mapping.txt | 1 + doc/server-mapping.md | 1 + lua/mason-lspconfig/mappings/filetype.lua | 2 +- lua/mason-lspconfig/mappings/server.lua | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7d5c767b..364761ed6 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,7 @@ local DEFAULT_SETTINGS = { | LaTeX | `ltex` | | LaTeX | `texlab` | | Lelwel | `lelwel_ls` | +| Liquid | `shopify_theme_ls` | | Lua | `lua_ls` | | Luau | `luau_lsp` | | LWC | `lwc_ls` | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index 15d161937..0f7ac917a 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -157,6 +157,7 @@ ruff-lsp ruff_lsp rust-analyzer rust_analyzer salt-lsp salt_ls serve-d serve_d +shopify-cli shopify_theme_ls slint-lsp slint_lsp smithy-language-server smithy_ls snyk-ls snyk_ls diff --git a/doc/server-mapping.md b/doc/server-mapping.md index 8fb5af418..bb7c7d2fb 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -154,6 +154,7 @@ | [rust_analyzer](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#rust_analyzer) | [rust-analyzer](https://mason-registry.dev/registry/list#rust-analyzer) | | [salt_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#salt_ls) | [salt-lsp](https://mason-registry.dev/registry/list#salt-lsp) | | [serve_d](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#serve_d) | [serve-d](https://mason-registry.dev/registry/list#serve-d) | +| [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) | | [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) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index d2d0120ed..4639ec8d2 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -111,7 +111,7 @@ return { less = { "css_variables", "cssls", "emmet_language_server", "emmet_ls", "stylelint_lsp", "tailwindcss" }, lhaskell = { "hls" }, libsonnet = { "jsonnet_ls" }, - liquid = { "tailwindcss", "theme_check" }, + liquid = { "shopify_theme_ls", "tailwindcss", "theme_check" }, llw = { "lelwel_ls" }, lua = { "ast_grep", "harper_ls", "lua_ls" }, luau = { "luau_lsp" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index d27bbe317..bee33c902 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -157,6 +157,7 @@ M.lspconfig_to_package = { ["rust_analyzer"] = "rust-analyzer", ["salt_ls"] = "salt-lsp", ["serve_d"] = "serve-d", + ["shopify_theme_ls"] = "shopify-cli", ["slint_lsp"] = "slint-lsp", ["smithy_ls"] = "smithy-language-server", ["snyk_ls"] = "snyk-ls",