mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
config structure
This commit is contained in:
parent
cb64b0ef44
commit
7adcc2a55d
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -65,6 +65,19 @@ without Treesitter :
|
|||
with Treesitter :
|
||||
<kbd> <img src = "https://raw.githubusercontent.com/siduck76/dotfiles/master/rice%20flex/wiTree.png"></kbd><hr>
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue