fix(hipatterns): update mini-hipatterns.lua config to add support for heex, rust and svelte files (#3430)

* Update mini-hipatterns.lua

added support for heex, rust and svelte to hipatterns

* Update mini-hipatterns.lua
This commit is contained in:
Victor Batarse 2024-06-03 01:22:23 -06:00 committed by GitHub
parent 40df5896d5
commit 1731e455d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,18 @@ M.plugin = {
-- custom LazyVim option to enable the tailwind integration
tailwind = {
enabled = true,
ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" },
ft = {
"typescriptreact",
"javascriptreact",
"css",
"javascript",
"typescript",
"html",
"svelte",
"rust",
"html-eex",
"heex",
},
-- full: the whole css class will be highlighted
-- compact: only the color will be highlighted
style = "full",
@ -41,7 +52,18 @@ M.plugin = {
if opts.tailwind == true then
opts.tailwind = {
enabled = true,
ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" },
ft = {
"typescriptreact",
"javascriptreact",
"css",
"javascript",
"typescript",
"html",
"svelte",
"rust",
"html-eex",
"heex",
},
style = "full",
}
end