From 60038350a272fd0f3496a6f358625b6dac573c78 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Mar 2021 03:34:15 -0400 Subject: update nvimtree config --- lua/nv-nvimtree/init.lua | 1 + vimscript/nv-nvimtree/init.vim | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 vimscript/nv-nvimtree/init.vim diff --git a/lua/nv-nvimtree/init.lua b/lua/nv-nvimtree/init.lua index fc5e0d24..9798f6d3 100644 --- a/lua/nv-nvimtree/init.lua +++ b/lua/nv-nvimtree/init.lua @@ -52,3 +52,4 @@ vim.g.nvim_tree_bindings = { ["-"] = tree_cb("dir_up"), ["q"] = tree_cb("close") } +vim.cmd([[source ~/.config/nvim/vimscript/nv-nvimtree/init.vim]]) diff --git a/vimscript/nv-nvimtree/init.vim b/vimscript/nv-nvimtree/init.vim new file mode 100644 index 00000000..dad2c82f --- /dev/null +++ b/vimscript/nv-nvimtree/init.vim @@ -0,0 +1,20 @@ +" TODO this really should be in the lua section +let g:nvim_tree_icons = { + \ 'default': '', + \ 'symlink': '', + \ 'git': { + \ 'unstaged': "✗", + \ 'staged': "✓", + \ 'unmerged': "", + \ 'renamed': "➜", + \ 'untracked': "" + \ }, + \ 'folder': { + \ 'default': "", + \ 'open': "", + \ 'empty': "", + \ 'empty_open': "", + \ 'symlink': "", + \ } + \ } + -- cgit v1.2.3