From 6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Wed, 24 Nov 2021 23:01:07 -0500 Subject: feat: expose configs --- lua/lspconfig/theme_check.lua | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 lua/lspconfig/theme_check.lua (limited to 'lua/lspconfig/theme_check.lua') diff --git a/lua/lspconfig/theme_check.lua b/lua/lspconfig/theme_check.lua deleted file mode 100644 index 1e8b24fe..00000000 --- a/lua/lspconfig/theme_check.lua +++ /dev/null @@ -1,33 +0,0 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' - -local server_name = 'theme_check' -local bin_name = 'theme-check-language-server' - -configs[server_name] = { - default_config = { - cmd = { bin_name, '--stdio' }, - filetypes = { 'liquid' }, - root_dir = util.root_pattern '.theme-check.yml', - settings = {}, - }, - docs = { - description = [[ -https://github.com/Shopify/shopify-cli - -`theme-check-language-server` is bundled with `shopify-cli` or it can also be installed via - -https://github.com/Shopify/theme-check#installation - -**NOTE:** -If installed via Homebrew, `cmd` must be set to 'theme-check-liquid-server' - -```lua -require lspconfig.theme_check.setup { - cmd = { 'theme-check-liquid-server' } -} -``` - -]], - }, -} -- cgit v1.2.3-70-g09d2