nixos/config/nvim/lua/config_plugins/config_nvim-tree.lua

57 lines
1.2 KiB
Lua
Raw Normal View History

-- vim.g.loaded_netrw = 1
-- vim.g.loaded_netrwPlugin = 1
vim.opt.termguicolors = true
2022-11-07 16:41:35 +00:00
require('nvim-tree').setup {
disable_netrw = false,
hijack_netrw = false,
open_on_setup = false,
open_on_setup_file = false,
hijack_cursor = true,
sync_root_with_cwd = true,
respect_buf_cwd = true,
2022-11-30 14:51:08 +00:00
update_focused_file = {
enable = true,
update_root = true,
2022-11-30 14:51:08 +00:00
},
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,
},
2022-11-30 14:51:08 +00:00
},
renderer = {
add_trailing = true,
group_empty = true,
full_name = true,
highlight_git = true,
2023-01-26 10:16:39 +00:00
highlight_modified = "all",
indent_markers = {
enable = true,
},
icons = {
show = {
git = false,
modified = false,
},
},
},
filters = {
dotfiles = true,
},
}