2022-05-24 08:56:38 +02:00
|
|
|
require'nvim-tree'.setup {
|
|
|
|
renderer ={
|
2022-06-28 12:46:01 +02:00
|
|
|
icons = {
|
|
|
|
padding = ' ',
|
|
|
|
symlink_arrow = ' >> ',
|
|
|
|
show = {
|
|
|
|
git=true,
|
|
|
|
folder=true,
|
|
|
|
file=true,
|
|
|
|
folder_arrow= false
|
|
|
|
},
|
|
|
|
glyphs = {
|
2022-08-23 16:02:27 +02:00
|
|
|
default= "",
|
2022-06-28 12:46:01 +02:00
|
|
|
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,
|
2022-05-24 08:56:38 +02:00
|
|
|
indent_markers = {
|
|
|
|
enable = true,
|
|
|
|
icons = {
|
2022-08-23 16:02:27 +02:00
|
|
|
corner = "└",
|
|
|
|
edge = "│ ",
|
2022-05-24 08:56:38 +02:00
|
|
|
none = " ",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-28 12:46:01 +02:00
|
|
|
respect_buf_cwd = true,
|
2022-05-24 08:56:38 +02:00
|
|
|
disable_netrw = true,
|
|
|
|
hijack_netrw = true,
|
|
|
|
open_on_setup = false,
|
|
|
|
ignore_ft_on_setup = {},
|
|
|
|
open_on_tab = false,
|
2022-08-23 16:02:27 +02:00
|
|
|
hijack_cursor = true,
|
|
|
|
auto_reload_on_write = true,
|
2022-05-24 08:56:38 +02:00
|
|
|
update_cwd = false,
|
|
|
|
diagnostics = {
|
2022-08-23 16:02:27 +02:00
|
|
|
enable = true,
|
2022-05-24 08:56:38 +02:00
|
|
|
icons = {
|
|
|
|
hint = "",
|
|
|
|
info = "",
|
|
|
|
warning = "",
|
|
|
|
error = "",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
update_focused_file = {
|
|
|
|
enable = true,
|
|
|
|
update_cwd = true,
|
|
|
|
ignore_list = {}
|
|
|
|
},
|
|
|
|
system_open = {
|
|
|
|
cmd = nil,
|
|
|
|
args = {}
|
|
|
|
},
|
|
|
|
filters = {
|
|
|
|
dotfiles = false,
|
|
|
|
custom = {}
|
|
|
|
},
|
|
|
|
git={
|
|
|
|
ignore = false,
|
|
|
|
enable= true,
|
|
|
|
timeout=500,
|
|
|
|
},
|
|
|
|
actions = {
|
|
|
|
open_file = {
|
2022-08-23 16:02:27 +02:00
|
|
|
resize_window = false,
|
2022-05-24 08:56:38 +02:00
|
|
|
window_picker = {
|
|
|
|
exclude = {
|
|
|
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame" },
|
|
|
|
buftype = { "nofile","terminal","help" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
view = {
|
2022-08-23 16:02:27 +02:00
|
|
|
width = 35,
|
2022-05-24 08:56:38 +02:00
|
|
|
hide_root_folder = false,
|
|
|
|
side = 'left',
|
|
|
|
mappings = {
|
|
|
|
custom_only = false,
|
|
|
|
list = {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|