mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-18 16:28:37 +02:00
fix(twig): use a function in recommended section
This commit is contained in:
parent
a21592164b
commit
e5d23d7174
1 changed files with 5 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
return {
|
return {
|
||||||
recommended = {
|
recommended = function()
|
||||||
ft = "twig",
|
return LazyVim.extras.wants({
|
||||||
root = {},
|
ft = "twig",
|
||||||
},
|
})
|
||||||
|
end,
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = { ensure_installed = { "twig" } },
|
opts = { ensure_installed = { "twig" } },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue