2022-08-07 21:00:11 +08:00
|
|
|
-- vim:set shiftwidth=4 tabstop=4:
|
2021-09-27 11:56:17 +08:00
|
|
|
-- following options are the default
|
2021-11-13 15:29:17 +08:00
|
|
|
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
|
2021-09-27 11:56:17 +08:00
|
|
|
require'nvim-tree'.setup {
|
2021-11-13 15:29:17 +08:00
|
|
|
disable_netrw = true,
|
|
|
|
open_on_setup = false,
|
|
|
|
ignore_ft_on_setup = {},
|
2022-05-28 23:54:46 +08:00
|
|
|
open_on_tab = true,
|
2021-11-13 15:29:17 +08:00
|
|
|
hijack_cursor = true,
|
2022-06-27 15:47:14 +08:00
|
|
|
hijack_directories = {enable = true, auto_open = true},
|
|
|
|
hijack_netrw = true,
|
2022-05-28 23:54:46 +08:00
|
|
|
update_cwd = true,
|
2021-11-13 15:29:17 +08:00
|
|
|
diagnostics = {
|
|
|
|
enable = true,
|
|
|
|
icons = {hint = "", info = "", warning = "", error = ""}
|
|
|
|
},
|
|
|
|
system_open = {cmd = nil, args = {}},
|
2022-08-07 21:00:11 +08:00
|
|
|
view = {width = 30, height = 30, hide_root_folder = false, side = 'left'}
|
2021-09-27 11:56:17 +08:00
|
|
|
}
|