Add opt to don't open tree on specific filetypes

This commit is contained in:
Sergey Bulavintsev
2021-02-09 16:10:33 +03:00
committed by Kiyan
parent b285257876
commit c59831a5d1
4 changed files with 15 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ useful to hide large data/cache folders.
|g:nvim_tree_show_icons| *g:nvim_tree_show_icons*
Dictionnary, if your terminal or font doesn't support certain unicode
Dictionary, if your terminal or font doesn't support certain unicode
character, the tree UI might be messed up. The following configuration
can disable icons per type:
>
@@ -135,6 +135,14 @@ Can be `0` or `1`. When `1`, will bind |BufEnter| to automatically
close the tree if it's the last window.
Default is 0
|g:nvim_tree_auto_ignore_ft| *g:nvim_tree_auto_ignore_ft*
Don't auto open the tree on specific filetypes.
Useful when you don't want to open tree on plugins like 'Startify'
Default is {}
>
example: let g.nvim_tree_auto_ignore_ft = {'startify', 'dashboard'}
|g:nvim_tree_quit_on_open| *g:nvim_tree_quit_on_open*
Can be `0` or `1`. When `1`, will close the tree when a file is opened.