FollieHiyuki-dotfiles/home/.config/nvim/lua/modules/nvimtree.lua

45 lines
1.2 KiB
Lua
Raw Normal View History

local function tree_options()
vim.g.nvim_tree_width = 35
vim.g.nvim_tree_ignore = {'.git', '.hg', '.svn', 'node_modules'}
vim.g.nvim_tree_auto_open = 1
vim.g.nvim_tree_auto_close = 1
vim.g.nvim_tree_auto_ignore_ft = {'dashboard'}
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
vim.g.nvim_tree_icons = {
default = '',
symlink = '',
git = {
2021-07-10 12:40:43 -04:00
unstaged = "",
staged = "",
unmerged = "",
2021-07-10 12:40:43 -04:00
renamed = "",
untracked = "",
2021-07-10 12:40:43 -04:00
deleted = "",
ignored = ""
},
folder = {
arrow_open = "",
arrow_closed = "",
default = "",
open = "",
empty = "",
empty_open = "",
symlink = "",
symlink_open = ""
},
lsp = {
hint = "",
info = "",
warning = "",
error = ""
}
}
end
tree_options()