add config option to disable the icons

This commit is contained in:
kiyan42
2020-03-04 14:49:52 +01:00
parent 3678169bd6
commit 0b4c9d8143
5 changed files with 41 additions and 6 deletions

View File

@@ -52,7 +52,16 @@ An array of strings that the tree won't display.
Each pattern is passed into the 'ls' function as `--ignore=PATTERN`
>
example: let g:lua_tree_ignore = [ '.git', 'node_modules' ]
<
|g:lua_tree_show_folders| *g:lua_tree_show_folders*
Can be `0` or `1`. When `0` it will not show the folder icons
Default is 1
|g:lua_tree_show_git_icons| *g:lua_tree_show_git_icons*
Can be `0` or `1`. When `0` it will not show git icons.
Default is 1
|g:lua_tree_follow| *g:lua_tree_follow*

View File

@@ -1,10 +1,12 @@
:LuaTreeFindFile nvim-tree-lua.txt /*:LuaTreeFindFile*
:LuaTreeRefresh nvim-tree-lua.txt /*:LuaTreeRefresh*
:LuaTreeToggle nvim-tree-lua.txt /*:LuaTreeToggle*
g:lua_tree_auto_open nvim-tree-lua.txt /*g:lua_tree_auto_open*
g:lua_tree_auto_close nvim-tree-lua.txt /*g:lua_tree_auto_close*
g:lua_tree_auto_open nvim-tree-lua.txt /*g:lua_tree_auto_open*
g:lua_tree_follow nvim-tree-lua.txt /*g:lua_tree_follow*
g:lua_tree_ignore nvim-tree-lua.txt /*g:lua_tree_ignore*
g:lua_tree_show_folders nvim-tree-lua.txt /*g:lua_tree_show_folders*
g:lua_tree_show_git_icons nvim-tree-lua.txt /*g:lua_tree_show_git_icons*
g:lua_tree_side nvim-tree-lua.txt /*g:lua_tree_side*
g:lua_tree_size nvim-tree-lua.txt /*g:lua_tree_size*
nvim-tree-commands nvim-tree-lua.txt /*nvim-tree-commands*