Using lazy-events.nvim we can create custom events (such as the LazyVim equivalent LazyFile event) based on other events (i.e. a grouping), on globbing files in the current dir, or on arbitrary custom logic. For now, any plugins which require files to be present to work are loaded with the 'LazyFile' event. Any plugins which need to be loaded when opening a directory with vim are loaded with the 'StartWithDir' event (essentially only neo-tree for now). Similarly mini.starter is loaded on the `StartScreen` event. Any plugin which only makes sense to run in a `.git` dir (gitsigns etc) will only run on the `LazyProject:git` event. |
||
|---|---|---|
| .. | ||
| nvim | ||
| sh | ||