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
26
.config/nvim/lsp/shopify_theme_ls.lua
Normal file
26
.config/nvim/lsp/shopify_theme_ls.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://shopify.dev/docs/api/shopify-cli
|
||||
---
|
||||
--- [Language Server](https://shopify.dev/docs/themes/tools/cli/language-server) and Theme Check (linter) for Shopify themes.
|
||||
---
|
||||
--- `shopify` can be installed via npm `npm install -g @shopify/cli`.
|
||||
---
|
||||
--- Note: This LSP already includes Theme Check so you don't need to use the `theme_check` server configuration as well.
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = {
|
||||
'shopify',
|
||||
'theme',
|
||||
'language-server',
|
||||
},
|
||||
filetypes = { 'liquid' },
|
||||
root_markers = {
|
||||
'.shopifyignore',
|
||||
'.theme-check.yml',
|
||||
'.theme-check.yaml',
|
||||
'shopify.theme.toml',
|
||||
},
|
||||
settings = {},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue