Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
24
.config/nvim/lsp/theme_check.lua
Normal file
24
.config/nvim/lsp/theme_check.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---@brief
|
||||
---
|
||||
--- 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
|
||||
--- vim.lsp.config('theme_check, {
|
||||
--- cmd = { 'theme-check-liquid-server' }
|
||||
--- })
|
||||
--- ```
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'theme-check-language-server', '--stdio' },
|
||||
filetypes = { 'liquid' },
|
||||
root_markers = { '.theme-check.yml' },
|
||||
settings = {},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue