diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | lua/nv-nvimtree/init.lua | 1 | ||||
| -rw-r--r-- | vimscript/functions.vim | 20 | 
3 files changed, 22 insertions, 0 deletions
| @@ -47,6 +47,7 @@ $HOME/.config/nvim/lua/nv-vscode/init.vim  - formatting using efm server for prettier/eslint  - snippet support  - learn what opt is +- nvimtree dots instead of stars  **LOW PRIORITY**  - redo barbar highlight groups diff --git a/lua/nv-nvimtree/init.lua b/lua/nv-nvimtree/init.lua index ab39ab2d..fc5e0d24 100644 --- a/lua/nv-nvimtree/init.lua +++ b/lua/nv-nvimtree/init.lua @@ -9,6 +9,7 @@ let g:nvim_tree_show_icons = {      \ 'folders': 1,      \ 'files': 1,      \ } +  "If 0, do not show the icons for one of 'git' 'folder' and 'files'  "1 by default, notice that if 'files' is 1, it will only display  "if nvim-web-devicons is installed and on your runtimepath ]] diff --git a/vimscript/functions.vim b/vimscript/functions.vim index 6f869935..166c0959 100644 --- a/vimscript/functions.vim +++ b/vimscript/functions.vim @@ -23,3 +23,23 @@ command! ResetHunk lua require 'nv-utils'.reset_hunk()  command! ResetBuffer lua require 'nv-utils'.reset_buffer()  command! PreviewHunk lua require 'nv-utils'.preview_hunk()  command! BlameLine lua require 'nv-utils'.blame_line() + +" TODO this really shouldn't be here +let g:nvim_tree_icons = { +    \ 'default': '', +    \ 'symlink': '', +    \ 'git': { +    \   'unstaged': "✗", +    \   'staged': "✓", +    \   'unmerged': "", +    \   'renamed': "➜", +    \   'untracked': "" +    \   }, +    \ 'folder': { +    \   'default': "", +    \   'open': "", +    \   'empty': "", +    \   'empty_open': "", +    \   'symlink': "", +    \   } +    \ } | 
