mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 18:59:00 +02:00
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:
parent
40df5896d5
commit
1731e455d4
1 changed files with 24 additions and 2 deletions
|
@ -14,7 +14,18 @@ M.plugin = {
|
||||||
-- custom LazyVim option to enable the tailwind integration
|
-- custom LazyVim option to enable the tailwind integration
|
||||||
tailwind = {
|
tailwind = {
|
||||||
enabled = true,
|
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
|
-- full: the whole css class will be highlighted
|
||||||
-- compact: only the color will be highlighted
|
-- compact: only the color will be highlighted
|
||||||
style = "full",
|
style = "full",
|
||||||
|
@ -41,7 +52,18 @@ M.plugin = {
|
||||||
if opts.tailwind == true then
|
if opts.tailwind == true then
|
||||||
opts.tailwind = {
|
opts.tailwind = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" },
|
ft = {
|
||||||
|
"typescriptreact",
|
||||||
|
"javascriptreact",
|
||||||
|
"css",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"html",
|
||||||
|
"svelte",
|
||||||
|
"rust",
|
||||||
|
"html-eex",
|
||||||
|
"heex",
|
||||||
|
},
|
||||||
style = "full",
|
style = "full",
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue