mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-31 08:04:53 +02:00
update nvimtree
This commit is contained in:
parent
e6e0558796
commit
4e52af1a37
1 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,7 @@ vim.g.nvim_tree_disable_netrw = 0 --"1 by default, disables netrw
|
||||||
vim.g.nvim_tree_hide_dotfiles = 1 --0 by default, this option hides files and folders starting with a dot `.`
|
vim.g.nvim_tree_hide_dotfiles = 1 --0 by default, this option hides files and folders starting with a dot `.`
|
||||||
vim.g.nvim_tree_indent_markers = 1 --"0 by default, this option shows indent markers when folders are open
|
vim.g.nvim_tree_indent_markers = 1 --"0 by default, this option shows indent markers when folders are open
|
||||||
vim.g.nvim_tree_follow = 1 --"0 by default, this option allows the cursor to be updated when entering a buffer
|
vim.g.nvim_tree_follow = 1 --"0 by default, this option allows the cursor to be updated when entering a buffer
|
||||||
|
vim.g.nvim_tree_lsp_diagnostics = 1 --0 by default, will show lsp diagnostics in the tree. See :help nvim_tree_lsp_diagnostics
|
||||||
vim.g.nvim_tree_auto_close = O.auto_close_tree --0 by default, closes the tree when it's the last window
|
vim.g.nvim_tree_auto_close = O.auto_close_tree --0 by default, closes the tree when it's the last window
|
||||||
vim.g.nvim_tree_auto_ignore_ft = 'startify' --"empty by default, don't auto open tree on specific filetypes.
|
vim.g.nvim_tree_auto_ignore_ft = 'startify' --"empty by default, don't auto open tree on specific filetypes.
|
||||||
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
|
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
|
||||||
|
@ -57,10 +58,11 @@ vim.g.nvim_tree_icons = {
|
||||||
symlink = '',
|
symlink = '',
|
||||||
git = {
|
git = {
|
||||||
unstaged = "",
|
unstaged = "",
|
||||||
staged = "✓",
|
staged = "",
|
||||||
unmerged = "",
|
unmerged = "",
|
||||||
renamed = "➜",
|
renamed = "➜",
|
||||||
untracked = ""
|
untracked = "",
|
||||||
|
ignored = "◌"
|
||||||
},
|
},
|
||||||
folder = {
|
folder = {
|
||||||
default = "",
|
default = "",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue