nixos/config/nvim/lua/config_plugins/config_nvim-tree.lua
Evie Litherland-Smith 85342ba955 Convert nvim config to full dotfiles repo
Restructure ready for adding additional config files
2023-01-10 07:55:21 +00:00

21 lines
450 B
Lua

vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require('nvim-tree').setup {
open_on_setup=true,
open_on_setup_file=false,
hijack_cursor=true,
sync_root_with_cwd=true,
update_focused_file = {
enable = true,
},
diagnostics = {
enable = true,
show_on_dirs = true,
},
filters = { custom = { "^.git$" } },
renderer = {
group_empty = true,
highlight_git = true,
},
}