35 lines
612 B
Lua
Executable File
35 lines
612 B
Lua
Executable File
local setup, nvimtree = pcall( require, "nvim-tree")
|
|
if not setup then
|
|
return
|
|
end
|
|
|
|
-- recommended settings from nvim-tree documentation
|
|
vim.g.loaded = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
vim.cmd( [[ highlight NvimTreeIndentMarker guifg = #3FC5FF ]])
|
|
|
|
nvimtree.setup({
|
|
renderer = {
|
|
icons = {
|
|
glyphs = {
|
|
folder = {
|
|
arrow_closed = "→",
|
|
arrow_open = "↓",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
-- disable window_picker for explorer
|
|
-- to work well with window splits
|
|
actions = {
|
|
open_file = {
|
|
window_picker = {
|
|
enable = false,
|
|
},
|
|
},
|
|
},
|
|
})
|
|
|