From 72ad6a6c17805fc99d29a302c69d15e065b765a8 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Tue, 29 Aug 2023 14:14:31 +0200 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62de315..626c6d1 100644 --- a/README.md +++ b/README.md @@ -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: