vim/nvim-tree: small visual tweaks
This commit is contained in:
parent
942142357b
commit
4ff8594d47
1 changed files with 9 additions and 6 deletions
|
@ -32,9 +32,11 @@ M.config = function()
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
ignore = false, -- don't hide files from .gitignore
|
ignore = false, -- don't hide files from .gitignore
|
||||||
|
show_on_open_dirs = false, -- don't show indication if dir is open
|
||||||
},
|
},
|
||||||
view = {
|
view = {
|
||||||
adaptive_size = true, -- resize the window based on the longest line
|
adaptive_size = true, -- resize the window based on the longest line
|
||||||
|
cursorline = false, -- don't enable 'cursorline' in the tree
|
||||||
width = 35, -- a little wider than the default 30
|
width = 35, -- a little wider than the default 30
|
||||||
},
|
},
|
||||||
filters = {
|
filters = {
|
||||||
|
@ -45,7 +47,8 @@ M.config = function()
|
||||||
add_trailing = true, -- add trailing / to folders
|
add_trailing = true, -- add trailing / to folders
|
||||||
highlight_git = true, -- enable highlight based on git attributes
|
highlight_git = true, -- enable highlight based on git attributes
|
||||||
icons = {
|
icons = {
|
||||||
git_placement = 'after',
|
webdev_colors = false, -- highlight icons with NvimTreeFileIcon
|
||||||
|
git_placement = 'signcolumn',
|
||||||
glyphs = {
|
glyphs = {
|
||||||
default = '',
|
default = '',
|
||||||
symlink = '',
|
symlink = '',
|
||||||
|
@ -61,10 +64,10 @@ M.config = function()
|
||||||
symlink_open = '',
|
symlink_open = '',
|
||||||
},
|
},
|
||||||
git = {
|
git = {
|
||||||
untracked = '?', -- ★
|
untracked = '',
|
||||||
unstaged = '✶', -- ✗
|
unstaged = '✶',
|
||||||
staged = '', -- ✓
|
staged = '✓',
|
||||||
deleted = '',
|
deleted = '✗',
|
||||||
unmerged = '',
|
unmerged = '',
|
||||||
renamed = '➜',
|
renamed = '➜',
|
||||||
ignored = '◌',
|
ignored = '◌',
|
||||||
|
|
Loading…
Add table
Reference in a new issue