config.nvim/lua/plugins/nvim-tree.lua
juan 9087e563d8
Feat | Plugin update, speed optimizations.
coq is bloated and does not play well with other plugins, nvim-cmp
is a better solution despite it is slightly slower.

I optimized the startup sequence, start time: 80ms -> 120ms -> 65ms

Next up, I will try to work on my zk workflow.
2022-08-07 21:00:11 +08:00

20 lines
653 B
Lua

-- vim:set shiftwidth=4 tabstop=4:
-- following options are the default
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
require'nvim-tree'.setup {
disable_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},
open_on_tab = true,
hijack_cursor = true,
hijack_directories = {enable = true, auto_open = true},
hijack_netrw = true,
update_cwd = true,
diagnostics = {
enable = true,
icons = {hint = "", info = "", warning = "", error = ""}
},
system_open = {cmd = nil, args = {}},
view = {width = 30, height = 30, hide_root_folder = false, side = 'left'}
}