feat: better tailwindcss support

This commit is contained in:
Youwen Wu 2024-12-05 22:54:16 -08:00
parent 2945b6cb28
commit c2838b6fd7
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 11 additions and 2 deletions

View file

@ -178,6 +178,7 @@
texpresso-vim texpresso-vim
blink-cmp blink-cmp
clangd_extensions-nvim clangd_extensions-nvim
tailwind-tools-nvim
]; ];
}; };

View file

@ -75,4 +75,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
end, end,
}) })
-- vim.keymap.set("i", "<Tab>", require("scripts.intellitab").indent) -- silence the hover 'no information available' notification
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
silent = true,
})

View file

@ -62,7 +62,6 @@ M.setup = function()
offset_encoding = "utf-8", offset_encoding = "utf-8",
}) })
lspconfig.svelte.setup({}) lspconfig.svelte.setup({})
lspconfig.tailwindcss.setup({})
lspconfig.texlab.setup({}) lspconfig.texlab.setup({})
lspconfig.clangd.setup({}) lspconfig.clangd.setup({})
end end

View file

@ -250,4 +250,10 @@ return {
}) })
end, end,
}, },
{
"tailwind-tools.nvim",
after = function()
require("tailwind-tools").setup({})
end,
},
} }