2025-03-15 20:48:41 +00:00
|
|
|
-- For cssls.
|
|
|
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
|
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
|
|
|
2025-03-02 17:53:12 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
opts = {
|
|
|
|
servers = {
|
2025-03-15 20:48:41 +00:00
|
|
|
cssls = {
|
|
|
|
capabilities = capabilities,
|
|
|
|
},
|
|
|
|
|
2025-03-15 21:03:11 +00:00
|
|
|
emmet_language_server = {
|
|
|
|
filetypes = {
|
|
|
|
'css',
|
|
|
|
'eruby',
|
|
|
|
'html',
|
|
|
|
'htmlangular',
|
|
|
|
'htmldjango',
|
|
|
|
'javascriptreact',
|
|
|
|
'less',
|
|
|
|
'liquid',
|
|
|
|
'pug',
|
|
|
|
'sass',
|
|
|
|
'scss',
|
|
|
|
'typescriptreact',
|
|
|
|
'vue',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2025-03-15 21:33:32 +00:00
|
|
|
fish_lsp = {},
|
|
|
|
|
2025-03-15 21:38:26 +00:00
|
|
|
gh_actions_ls = {},
|
|
|
|
|
2025-03-15 20:34:52 +00:00
|
|
|
html = {
|
|
|
|
filetypes = { 'html', 'liquid' },
|
|
|
|
},
|
2025-03-15 20:48:41 +00:00
|
|
|
|
2025-03-02 17:53:12 +00:00
|
|
|
nil_ls = {
|
|
|
|
settings = {
|
|
|
|
['nil'] = {
|
|
|
|
flake = {
|
|
|
|
autoArchive = true,
|
|
|
|
autoEvalInputs = true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2025-03-15 20:48:41 +00:00
|
|
|
|
2025-03-15 23:22:56 +00:00
|
|
|
somesass_ls = {},
|
|
|
|
|
2025-03-15 20:48:41 +00:00
|
|
|
stylelint_lsp = {},
|
2025-03-02 17:53:12 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|