mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 09:48:59 +02:00
fix(hipatterns): default options
This commit is contained in:
parent
1288f0d5a5
commit
30824369c2
1 changed files with 5 additions and 2 deletions
|
@ -25,8 +25,11 @@ M.plugin = {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
-- backward compatibility
|
-- backward compatibility
|
||||||
if opts.tailwind == true then
|
if opts.tailwind == true then
|
||||||
opts.tailwind =
|
opts.tailwind = {
|
||||||
{ enabled = true, ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" } }
|
enabled = true,
|
||||||
|
ft = { "typescriptreact", "javascriptreact", "css", "javascript", "typescript", "html" },
|
||||||
|
style = "full",
|
||||||
|
}
|
||||||
end
|
end
|
||||||
if type(opts.tailwind) == "table" and opts.tailwind.enabled then
|
if type(opts.tailwind) == "table" and opts.tailwind.enabled then
|
||||||
-- reset hl groups when colorscheme changes
|
-- reset hl groups when colorscheme changes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue