mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 19:50:38 +00:00
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:
11
lua/absolute/plugins/apple-pkl.lua
Normal file
11
lua/absolute/plugins/apple-pkl.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user