aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-11-25 00:09:57 +0300
committereug-vs <eugene@eug-vs.xyz>2022-11-25 00:09:57 +0300
commit8eb0f20181c4d0022af354f23bc367f5611e3372 (patch)
tree9f8f246a76876b0942430bf996ba258753347a0a
parentc3eccbc772da998d544894ba82a687682f7e20e1 (diff)
downloaddotfiles-8eb0f20181c4d0022af354f23bc367f5611e3372.tar.gz
feat(nvim): add TailwindCSS support to LSP
-rw-r--r--nvim/.config/nvim/lua/lsp-config.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/nvim/.config/nvim/lua/lsp-config.lua b/nvim/.config/nvim/lua/lsp-config.lua
index 2a0a881..f86103b 100644
--- a/nvim/.config/nvim/lua/lsp-config.lua
+++ b/nvim/.config/nvim/lua/lsp-config.lua
@@ -50,7 +50,6 @@ require('typescript').setup {
},
}
-
-- Eslint
nvim_lsp.eslint.setup {
on_attach = on_attach,
@@ -58,6 +57,13 @@ nvim_lsp.eslint.setup {
capabilities = capabilities,
}
+-- TailwindCSS
+nvim_lsp.tailwindcss.setup {
+ on_attach = on_attach,
+ flags = flags,
+ capabilities = capabilities,
+}
+
-- Prisma
nvim_lsp.prismals.setup {
on_attach = on_attach,