🐛 fix(nvim): treesitter parser for pkl not installing correctly
This commit is contained in:
parent
4ed37aca33
commit
d7c01d5c32
1 changed files with 3 additions and 4 deletions
|
@ -2,10 +2,9 @@ return {
|
|||
"apple/pkl-neovim",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "pkl" })
|
||||
end,
|
||||
},
|
||||
build = function()
|
||||
vim.cmd("TSInstall! pkl")
|
||||
end,
|
||||
event = "BufRead *.pkl",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue