update nvim tree options
This commit is contained in:
@ -1,5 +1,47 @@
|
||||
require'nvim-tree'.setup {
|
||||
renderer ={
|
||||
icons = {
|
||||
padding = ' ',
|
||||
symlink_arrow = ' >> ',
|
||||
show = {
|
||||
git=true,
|
||||
folder=true,
|
||||
file=true,
|
||||
folder_arrow= false
|
||||
},
|
||||
glyphs = {
|
||||
default= "",
|
||||
symlink= "",
|
||||
git= {
|
||||
unstaged= "✗",
|
||||
staged= "✓",
|
||||
unmerged= "",
|
||||
renamed= "➜",
|
||||
untracked= "★",
|
||||
deleted= "",
|
||||
ignored= "◌"
|
||||
},
|
||||
folder= {
|
||||
arrow_open= "",
|
||||
arrow_closed= "",
|
||||
default= "",
|
||||
open= "",
|
||||
empty= "",
|
||||
empty_open= "",
|
||||
symlink= "",
|
||||
symlink_open= "",
|
||||
}
|
||||
},
|
||||
},
|
||||
add_trailing = true,
|
||||
highlight_opened_files = "all",
|
||||
root_folder_modifier = ':~',
|
||||
special_files = {
|
||||
'README.md',
|
||||
'Makefile',
|
||||
'MAKEFILE'
|
||||
},
|
||||
highlight_git = true,
|
||||
indent_markers = {
|
||||
enable = true,
|
||||
icons = {
|
||||
@ -9,6 +51,7 @@ require'nvim-tree'.setup {
|
||||
}
|
||||
}
|
||||
},
|
||||
respect_buf_cwd = true,
|
||||
disable_netrw = true,
|
||||
hijack_netrw = true,
|
||||
open_on_setup = false,
|
||||
|
Reference in New Issue
Block a user