Move lsp config to local file structure

This commit is contained in:
Never Gude 2026-01-15 17:18:59 +01:00
parent e5c3bb2492
commit 20801272fc
383 changed files with 11829 additions and 114 deletions

View 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 = {},
}