From 8eb0f20181c4d0022af354f23bc367f5611e3372 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 25 Nov 2022 00:09:57 +0300 Subject: feat(nvim): add TailwindCSS support to LSP --- nvim/.config/nvim/lua/lsp-config.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3