Add CSS LSP plugins

main
Nick Zana 5 days ago
parent 03450108b3
commit 4d23c611f0

@ -78,6 +78,24 @@ lsp.configure('ruff', {
}
})
-- CSS
lsp.configure('cssls', {
cmd = { "npx", "vscode-css-language-server", "--stdio" },
filetypes = { "css", "scss", "less" }
})
-- Tailwind CSS
lsp.configure('tailwindcss', {
cmd = { "npx", "tailwindcss-language-server", "--stdio" },
filetypes = { "html", "css", "scss", "javascript", "javascriptreact", "typescript", "typescriptreact" },
init_options = {
userLanguages = {
eelixir = "html-eex",
eruby = "erb"
}
}
})
vim.api.nvim_create_autocmd("LspAttach", {
group = vim.api.nvim_create_augroup('lsp_attach_disable_ruff_hover', { clear = true }),
callback = function(args)

Loading…
Cancel
Save