You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, lazy.nvim uses events, filetypes, commands, and keymaps to load plugins. However, project-specific plugins don't fit well with these existing handlers. For example:
Plugins like lewis6991/gitsigns.nvim should load when a .git directory is present
zk-org/zk-nvim should load when a .zk directory exists
Describe the solution you'd like
A new handler to detect root pattern when DirChanged or BufRead, and use vim.fs.root(0,patterns).
pesudo code:
Did you check the docs?
Is your feature request related to a problem? Please describe.
Currently, lazy.nvim uses events, filetypes, commands, and keymaps to load plugins. However, project-specific plugins don't fit well with these existing handlers. For example:
Describe the solution you'd like
A new handler to detect root pattern when DirChanged or BufRead, and use
vim.fs.root(0,patterns)
.pesudo code:
Describe alternatives you've considered
pass
Additional context
No response
The text was updated successfully, but these errors were encountered: