Skip to content

Commit

Permalink
fix(hipatterns): default options
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 27, 2023
1 parent 1288f0d commit 3082436
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lua/lazyvim/plugins/extras/util/mini-hipatterns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ M.plugin = {
config = function(_, opts)
-- backward compatibility
if opts.tailwind == true then
opts.tailwind =
{ enabled = true, ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" } }
opts.tailwind = {
enabled = true,
ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" },
style = "full",
}
end
if type(opts.tailwind) == "table" and opts.tailwind.enabled then
-- reset hl groups when colorscheme changes
Expand Down

0 comments on commit 3082436

Please sign in to comment.