67 lines
1.2 KiB
Lua
67 lines
1.2 KiB
Lua
require'nvim-tree'.setup {
|
|
renderer ={
|
|
indent_markers = {
|
|
enable = true,
|
|
icons = {
|
|
corner = "└ ",
|
|
edge = "│ ",
|
|
none = " ",
|
|
}
|
|
}
|
|
},
|
|
disable_netrw = true,
|
|
hijack_netrw = true,
|
|
open_on_setup = false,
|
|
ignore_ft_on_setup = {},
|
|
open_on_tab = false,
|
|
hijack_cursor = false,
|
|
update_cwd = false,
|
|
diagnostics = {
|
|
enable = false,
|
|
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 = {
|
|
window_picker = {
|
|
exclude = {
|
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame" },
|
|
buftype = { "nofile","terminal","help" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
view = {
|
|
width = 25,
|
|
height = 30,
|
|
hide_root_folder = false,
|
|
side = 'left',
|
|
mappings = {
|
|
custom_only = false,
|
|
list = {}
|
|
}
|
|
}
|
|
}
|