feat: Add CSS LSPs

This commit is contained in:
punkfairie 2025-03-15 13:48:41 -07:00
parent d4c3b197fa
commit c3a94b2ed9
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 12 additions and 0 deletions

View file

@ -155,6 +155,7 @@
sqlfluff
stdenv.cc.cc
stylelint
stylelint-lsp
stylua
tailwindcss-language-server
taplo

View file

@ -1,11 +1,20 @@
-- For cssls.
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
return {
{
'neovim/nvim-lspconfig',
opts = {
servers = {
cssls = {
capabilities = capabilities,
},
html = {
filetypes = { 'html', 'liquid' },
},
nil_ls = {
settings = {
['nil'] = {
@ -16,6 +25,8 @@ return {
},
},
},
stylelint_lsp = {},
},
},
},