Dot_Files/.config/nvim/lua/plugins/configs/nvimtree.lua
2022-03-14 03:14:26 -05:00

24 lines
463 B
Lua
Executable File

local nvimtree = require("nvim-tree")
local g = vim.g
g.nvim_tree_add_trailing = 1
g.nvim_tree_git_hl = 0
g.nvim_tree_highlight_opened_files = 0
g.nvim_tree_indent_markers = 1
g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" }
g.nvim_tree_show_icons = {
folders = 1,
files = 1,
git = 1,
}
local settings = {
git = {
enable = false,
ignore = false
}
}
nvimtree.setup(settings)