mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-15 11:54:40 +02:00
Moved nvimtree.vim to nvimtree.lua (#151)
This commit is contained in:
parent
896f0e456c
commit
20d07800e7
2 changed files with 18 additions and 20 deletions
|
@ -52,4 +52,22 @@ vim.g.nvim_tree_bindings = {
|
||||||
["-"] = tree_cb("dir_up"),
|
["-"] = tree_cb("dir_up"),
|
||||||
["q"] = tree_cb("close")
|
["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]])
|
vim.cmd([[source ~/.config/nvim/vimscript/nv-nvimtree/init.vim]])
|
||||||
|
|
|
@ -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': "",
|
|
||||||
\ }
|
|
||||||
\ }
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue