feat(apple-pkl.lua): add plugin configuration for apple/pkl-neovim

This commit adds a new Lua file `apple-pkl.lua` to the `absolute/plugins` directory. The file contains the configuration for the plugin `apple/pkl-neovim`. The configuration includes the following:
- The plugin URL: `https://github.com/apple/pkl-neovim`
- The plugin should be loaded lazily
- The plugin should be triggered on the event "BufReadPre *.pkl"
- The plugin has a dependency on `nvim-treesitter/nvim-treesitter`
- The plugin build function installs the `pkl` language for Treesitter using the command `TSInstall! pkl`
This commit is contained in:
David Ibia
2024-02-11 21:29:57 +01:00
parent a0d0658a16
commit 213a312bed

View File

@@ -0,0 +1,11 @@
return {
"https://github.com/apple/pkl-neovim",
lazy = true,
event = "BufReadPre *.pkl",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
build = function()
vim.cmd("TSInstall! pkl")
end,
}