diff options
author | tiagovla <[email protected]> | 2021-03-20 18:24:28 -0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-20 21:24:28 +0000 |
commit | 20d07800e70f507c8010d281f7e6adcc2a5d376c (patch) | |
tree | 83bcf3c358ffd9a2c22b12afec96111c845583fa | |
parent | 896f0e456c6e2f60dffc1d06009fefd90147208b (diff) |
Moved nvimtree.vim to nvimtree.lua (#151)
-rw-r--r-- | lua/nv-nvimtree/init.lua | 18 | ||||
-rw-r--r-- | vimscript/nv-nvimtree/init.vim | 20 |
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': "", - \ } - \ } - |