mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
docs(readme): note when lua/plugins/*.lua loaded
I thought these files were always loaded, even if your main plugin specs were in a plugins table. However it seems you need to switch to the filesystem method for this to work. That makes sense, but could be clearer in the doc.
This commit is contained in:
parent
2a9354c7d2
commit
72ad6a6c17
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ return {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- Any lua file in `~/.config/nvim/lua/plugins/*.lua` will be automatically merged in the main plugin spec
|
- Any lua file in `~/.config/nvim/lua/plugins/*.lua` will be automatically merged in the main plugin spec if using `.setup("plugins")`.
|
||||||
|
|
||||||
For a real-life example, you can check [LazyVim](https://github.com/LazyVim/LazyVim) and more specifically:
|
For a real-life example, you can check [LazyVim](https://github.com/LazyVim/LazyVim) and more specifically:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue