mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue