rm unused config in nvimtree | include vim highlighting support by default
This commit is contained in:
@@ -7,17 +7,19 @@ end
|
||||
|
||||
local g = vim.g
|
||||
|
||||
vim.o.termguicolors = true
|
||||
|
||||
g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names
|
||||
g.nvim_tree_git_hl = git_status
|
||||
g.nvim_tree_gitignore = 0
|
||||
g.nvim_tree_highlight_opened_files = 0
|
||||
g.nvim_tree_indent_markers = 1
|
||||
g.nvim_tree_ignore = { ".git", "node_modules", ".cache" }
|
||||
g.nvim_tree_quit_on_open = 0 -- closes tree when file's opened
|
||||
g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" }
|
||||
|
||||
g.nvim_tree_window_picker_exclude = {
|
||||
filetype = { "notify", "packer", "qf" },
|
||||
buftype = { "terminal" },
|
||||
}
|
||||
|
||||
g.nvim_tree_show_icons = {
|
||||
folders = 1,
|
||||
files = 1,
|
||||
@@ -47,15 +49,6 @@ g.nvim_tree_icons = {
|
||||
}
|
||||
|
||||
nvimtree.setup {
|
||||
diagnostics = {
|
||||
enable = false,
|
||||
icons = {
|
||||
hint = "",
|
||||
info = "",
|
||||
warning = "",
|
||||
error = "",
|
||||
},
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user