mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(tailwind): use default init_options if none are provided
This commit is contained in:
parent
d82c11f889
commit
1ac0a8532a
1 changed files with 9 additions and 0 deletions
|
|
@ -42,6 +42,15 @@ return {
|
|||
|
||||
-- Add additional filetypes
|
||||
vim.list_extend(opts.filetypes, opts.filetypes_include or {})
|
||||
|
||||
-- Add init_options
|
||||
opts.init_options = opts.init_options or {}
|
||||
opts.init_options.userLanguages = vim.tbl_deep_extend(
|
||||
"force",
|
||||
{},
|
||||
opts.init_options.userLanguages or {},
|
||||
tw.default_config.init_options.userLanguages
|
||||
)
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue