55 lines
1.2 KiB
Lua
55 lines
1.2 KiB
Lua
vim.g.loaded_netrw = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
vim.opt.termguicolors = true
|
|
require('nvim-tree').setup {
|
|
disable_netrw = true,
|
|
hijack_netrw = true,
|
|
hijack_cursor = true,
|
|
sync_root_with_cwd = true,
|
|
respect_buf_cwd = true,
|
|
update_focused_file = {
|
|
enable = true,
|
|
update_root = true,
|
|
},
|
|
diagnostics = {
|
|
enable = true,
|
|
show_on_dirs = true,
|
|
show_on_open_dirs = false,
|
|
},
|
|
git = {
|
|
enable = true,
|
|
show_on_dirs = true,
|
|
show_on_open_dirs = false,
|
|
},
|
|
modified = {
|
|
enable = true,
|
|
show_on_dirs = true,
|
|
show_on_open_dirs = false,
|
|
},
|
|
view = {
|
|
centralize_selection = true,
|
|
float = {
|
|
enable = true,
|
|
},
|
|
},
|
|
renderer = {
|
|
add_trailing = true,
|
|
group_empty = true,
|
|
full_name = true,
|
|
highlight_git = true,
|
|
highlight_modified = "all",
|
|
indent_markers = {
|
|
enable = true,
|
|
},
|
|
icons = {
|
|
show = {
|
|
git = false,
|
|
modified = false,
|
|
},
|
|
},
|
|
},
|
|
filters = {
|
|
dotfiles = true,
|
|
},
|
|
}
|