2021-07-06 07:26:25 -04:00
|
|
|
local function tree_options()
|
|
|
|
vim.g.nvim_tree_width = 35
|
2021-07-08 16:08:10 -04:00
|
|
|
vim.g.nvim_tree_ignore = {'.git', '.hg', '.svn', 'node_modules'}
|
2021-07-06 07:26:25 -04:00
|
|
|
vim.g.nvim_tree_auto_open = 1
|
|
|
|
vim.g.nvim_tree_auto_close = 1
|
2021-07-08 16:08:10 -04:00
|
|
|
vim.g.nvim_tree_auto_ignore_ft = {'dashboard'}
|
2021-07-06 07:26:25 -04:00
|
|
|
vim.g.nvim_tree_follow = 1
|
|
|
|
vim.g.nvim_tree_indent_markers = 1
|
|
|
|
vim.g.nvim_tree_git_hl = 1
|
|
|
|
vim.g.nvim_tree_auto_resize = 0
|
|
|
|
-- vim.g.nvim_tree_add_trailing = 1
|
|
|
|
vim.g.nvim_tree_lsp_diagnostics = 1
|
2021-07-07 04:08:00 -04:00
|
|
|
vim.g.nvim_tree_icons = {
|
|
|
|
default = '',
|
|
|
|
symlink = '',
|
|
|
|
git = {
|
2021-07-10 12:40:43 -04:00
|
|
|
unstaged = "",
|
|
|
|
staged = "",
|
2021-07-07 04:08:00 -04:00
|
|
|
unmerged = "",
|
2021-07-10 12:40:43 -04:00
|
|
|
renamed = "",
|
2021-07-07 04:08:00 -04:00
|
|
|
untracked = "★",
|
2021-07-10 12:40:43 -04:00
|
|
|
deleted = "",
|
|
|
|
ignored = ""
|
2021-07-07 04:08:00 -04:00
|
|
|
},
|
|
|
|
folder = {
|
|
|
|
arrow_open = "",
|
|
|
|
arrow_closed = "",
|
|
|
|
default = "",
|
|
|
|
open = "",
|
|
|
|
empty = "",
|
|
|
|
empty_open = "",
|
|
|
|
symlink = "",
|
|
|
|
symlink_open = ""
|
|
|
|
},
|
|
|
|
lsp = {
|
|
|
|
hint = "",
|
|
|
|
info = "",
|
|
|
|
warning = "",
|
|
|
|
error = ""
|
|
|
|
}
|
|
|
|
}
|
2021-07-06 07:26:25 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
tree_options()
|