summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/nv-nvimtree/init.lua18
-rw-r--r--vimscript/nv-nvimtree/init.vim20
2 files changed, 18 insertions, 20 deletions
diff --git a/lua/nv-nvimtree/init.lua b/lua/nv-nvimtree/init.lua
index 9798f6d3..b61025c7 100644
--- a/lua/nv-nvimtree/init.lua
+++ b/lua/nv-nvimtree/init.lua
@@ -52,4 +52,22 @@ vim.g.nvim_tree_bindings = {
["-"] = tree_cb("dir_up"),
["q"] = tree_cb("close")
}
+vim.g.nvim_tree_icons = {
+ default = '',
+ symlink = '',
+ git = {
+ unstaged = "",
+ staged = "✓",
+ unmerged = "",
+ renamed = "➜",
+ untracked = "✗"
+ },
+ folder = {
+ default = "",
+ open = "",
+ empty = "",
+ empty_open = "",
+ symlink = ""
+ }
+}
vim.cmd([[source ~/.config/nvim/vimscript/nv-nvimtree/init.vim]])
diff --git a/vimscript/nv-nvimtree/init.vim b/vimscript/nv-nvimtree/init.vim
deleted file mode 100644
index 4414ccd6..00000000
--- a/vimscript/nv-nvimtree/init.vim
+++ /dev/null
@@ -1,20 +0,0 @@
-" 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': "",
- \ }
- \ }
-