nvim/lua/plugins/tailwind.lua

16 lines
564 B
Lua
Raw Normal View History

2024-06-17 15:22:39 +07:00
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
tailwindcss = {
-- exclude a filetype from the default_config
2024-10-01 22:33:08 +07:00
-- filetypes_exclude = { "markdown", "javascript", "typescript" },
2024-06-17 15:22:39 +07:00
-- add additional filetypes to the default_config
2024-10-01 22:33:08 +07:00
-- filetypes_include = {},
2024-06-17 15:22:39 +07:00
-- to fully override the default_config, change the below
2024-10-01 22:33:08 +07:00
filetypes = { "javascriptreact", "typescriptreact", "html", "css", "scss", "templ" },
2024-06-17 15:22:39 +07:00
},
},
},
}