🐛 fix(nvim): treesitter parser for pkl not installing correctly

This commit is contained in:
Sergio Laín 2024-02-19 01:12:37 +01:00
parent 4ed37aca33
commit d7c01d5c32
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -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",
}