From 3efb849d733daf10ff6ce5af3e2a91812c97691b Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 25 Dec 2022 14:30:41 +0100 Subject: [PATCH] docs: clarified that only top-level submodules are merged in the final spec. #139 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cf9f69..078b426 100644 --- a/README.md +++ b/README.md @@ -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: