From 1731e455d41a9baa6c80bbc9e89e23c104479431 Mon Sep 17 00:00:00 2001 From: Victor Batarse <80638470+Alt-iOS@users.noreply.github.com> Date: Mon, 3 Jun 2024 01:22:23 -0600 Subject: [PATCH] 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 --- .../plugins/extras/util/mini-hipatterns.lua | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/extras/util/mini-hipatterns.lua b/lua/lazyvim/plugins/extras/util/mini-hipatterns.lua index 7c887088..5e4f5c43 100644 --- a/lua/lazyvim/plugins/extras/util/mini-hipatterns.lua +++ b/lua/lazyvim/plugins/extras/util/mini-hipatterns.lua @@ -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