mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
chore(nvim-tree.lua): reformat and organize the configuration options for nvim-tree plugin for better readability and maintainability
This commit is contained in:
@@ -9,39 +9,41 @@ vim.cmd([[ highlight NvimTreeFolderArrowClosed guifg=#3FC5FF ]])
|
|||||||
vim.cmd([[ highlight NvimTreeFolderArrowOpen guifg=#3FC5FF ]])
|
vim.cmd([[ highlight NvimTreeFolderArrowOpen guifg=#3FC5FF ]])
|
||||||
|
|
||||||
nvimtree.setup({
|
nvimtree.setup({
|
||||||
view = {
|
view = {
|
||||||
width = 45,
|
width = 45,
|
||||||
relativenumber = true,
|
relativenumber = true,
|
||||||
},
|
},
|
||||||
renderer = {
|
update_focused_file = {
|
||||||
indent_markers = {
|
enable = true,
|
||||||
enable = true,
|
},
|
||||||
},
|
renderer = {
|
||||||
icons = {
|
indent_markers = {
|
||||||
glyphs = {
|
enable = true,
|
||||||
|
},
|
||||||
folder = {
|
icons = {
|
||||||
arrow_closed = "", -- arrow when folder is closed
|
glyphs = {
|
||||||
arrow_open = "", -- arrow when folder is open
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
-- disable window_picker for
|
|
||||||
-- explorer to work well with
|
|
||||||
-- window splits
|
|
||||||
actions = {
|
|
||||||
open_file = {
|
|
||||||
window_picker = {
|
|
||||||
enable = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
filters = {
|
|
||||||
custom = { ".DS_Store" },
|
|
||||||
},
|
|
||||||
git = {
|
|
||||||
ignore = false,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
folder = {
|
||||||
|
arrow_closed = "", -- arrow when folder is closed
|
||||||
|
arrow_open = "", -- arrow when folder is open
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- disable window_picker for
|
||||||
|
-- explorer to work well with
|
||||||
|
-- window splits
|
||||||
|
actions = {
|
||||||
|
open_file = {
|
||||||
|
window_picker = {
|
||||||
|
enable = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
filters = {
|
||||||
|
custom = { ".DS_Store" },
|
||||||
|
},
|
||||||
|
git = {
|
||||||
|
ignore = false,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user