How to load plugin that loads existing plugins? Adding new extras.lang #3122
-
I've been looking at docs for loading local plugins but can't figure it out. I'm adding my own local swift lang lazy plugin with intention to add it later to official I start with the root lazy config plugin import: {
"swift",
dir = "/Users/.../workspace/.../extras/lang/swift",
name = "swift",
}, And then in return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, {
"swift",
})
end
end,
},
} I can see it in the plugin list when I |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Just fork the repo and clone it locally and do whatever changes you want in another branch in the directory of extras.lang |
Beta Was this translation helpful? Give feedback.
Just fork the repo and clone it locally and do whatever changes you want in another branch in the directory of extras.lang