summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-17 03:34:15 -0400
committerChris <[email protected]>2021-03-17 03:34:15 -0400
commit60038350a272fd0f3496a6f358625b6dac573c78 (patch)
tree6073c37bb4d9e9bc8e7a1ed60ff9fc62e70175d2
parent04081f99c03f8ffcd51acf74ed933f770bd6307e (diff)
update nvimtree config
-rw-r--r--lua/nv-nvimtree/init.lua1
-rw-r--r--vimscript/nv-nvimtree/init.vim20
2 files changed, 21 insertions, 0 deletions
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': "",
+ \ }
+ \ }
+