nvimTree : hide full path of dir

This commit is contained in:
siduck76 2021-05-10 23:00:48 +05:30
parent 5ba1ea801b
commit 339b31d87c
1 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,11 @@
local cmd = vim.cmd local cmd = vim.cmd
local g = vim.g local g = vim.g
vim.o.termguicolors = true vim.o.termguicolors = true
g.nvim_tree_side = "left" g.nvim_tree_side = "left"
g.nvim_tree_width = 25 g.nvim_tree_width = 26
g.nvim_tree_ignore = {".git", "node_modules", ".cache"} g.nvim_tree_ignore = {".git", "node_modules", ".cache"}
g.nvim_tree_auto_open = 0 g.nvim_tree_auto_open = 0
g.nvim_tree_auto_close = 0 g.nvim_tree_auto_close = 0
@ -13,8 +14,8 @@ g.nvim_tree_follow = 1
g.nvim_tree_indent_markers = 1 g.nvim_tree_indent_markers = 1
g.nvim_tree_hide_dotfiles = 1 g.nvim_tree_hide_dotfiles = 1
g.nvim_tree_git_hl = 1 g.nvim_tree_git_hl = 1
g.nvim_tree_root_folder_modifier = ":~" g.nvim_tree_root_folder_modifier = ":t"
g.nvim_tree_tab_open = 1 g.nvim_tree_tab_open = 0
g.nvim_tree_allow_resize = 1 g.nvim_tree_allow_resize = 1
g.nvim_tree_show_icons = { g.nvim_tree_show_icons = {
@ -89,3 +90,4 @@ cmd "hi NvimTreeFolderName guifg = #61afef"
cmd "hi NvimTreeIndentMarker guifg=#383c44" cmd "hi NvimTreeIndentMarker guifg=#383c44"
cmd "hi NvimTreeNormal guibg=#1b1f27" cmd "hi NvimTreeNormal guibg=#1b1f27"
cmd "hi NvimTreeVertSplit guifg=#1e222a" cmd "hi NvimTreeVertSplit guifg=#1e222a"
cmd "hi NvimTreeRootFolder guifg=#f9929b"