mirror of https://github.com/folke/lazy.nvim.git
docs: clarified that only top-level submodules are merged in the final spec. #139
This commit is contained in:
parent
90952239d2
commit
3efb849d73
|
@ -582,7 +582,7 @@ Files from runtime directories are always sourced in alphabetical order.
|
|||
|
||||
Some users may want to split their plugin specs in multiple files.
|
||||
Instead of passing a spec table to `setup()`, you can use a Lua module.
|
||||
The specs from the **module** and any **sub-modules** will be merged together in the final spec,
|
||||
The specs from the **module** and any top-level **sub-modules** will be merged together in the final spec,
|
||||
so it is not needed to add `require` calls in your main plugin file to the other files.
|
||||
|
||||
The benefits of using this approach:
|
||||
|
|
Loading…
Reference in New Issue