From 7adcc2a55d6bf4a3f1c1ccfee3f81330873d5efa Mon Sep 17 00:00:00 2001 From: siduck76 Date: Fri, 2 Apr 2021 12:18:44 +0530 Subject: [PATCH] config structure --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index f7f8433..40c161d 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,19 @@ without Treesitter : with Treesitter :
+#Config structure + +``` + nvim + ├──init.lua + └──lua + └──foo + └──lua.lua +``` + +- The init.lua is used instead of init.vim. +- The lua folder contains modules , in the example above "foo" could be considered as a module and it contains a lua.lua file in which you could write your config in lua , its like splitting the overall config into small bit . To load/source that "foo" module , you need to specify it in init.lua like this : require('foo.lua'). + # Features - File navigation with Nvimtree