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:
Gibson Fahnestock 2023-08-29 14:14:31 +02:00 committed by GitHub
commit 72ad6a6c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: