fix(nvim): remove deprecated option in nvimtree config

This commit is contained in:
Bruno Carlin 2022-04-27 22:57:47 +02:00
parent a72152ad32
commit 4800f2310f

View file

@ -1,4 +1,3 @@
vim.g.nvim_tree_indent_markers = 1 -- 0 by default, this option shows indent markers when folders are open
vim.g.nvim_tree_git_hl = 1 -- 0 by default, will enable file highlight for git attributes (can be used without the icons). vim.g.nvim_tree_git_hl = 1 -- 0 by default, will enable file highlight for git attributes (can be used without the icons).
vim.g.nvim_tree_highlight_opened_files = 1 -- 0 by default, will enable folder and file icon highlight for opened files/directories. vim.g.nvim_tree_highlight_opened_files = 1 -- 0 by default, will enable folder and file icon highlight for opened files/directories.
vim.g.nvim_tree_root_folder_modifier = ':~' -- This is the default. See :help filename-modifiers for more options vim.g.nvim_tree_root_folder_modifier = ':~' -- This is the default. See :help filename-modifiers for more options
@ -96,6 +95,19 @@ require('nvim-tree').setup {
hide_root_folder = false, hide_root_folder = false,
side = 'left', side = 'left',
}, },
renderer = {
indent_markers = {
enable = false,
icons = {
corner = "",
edge = "",
none = " ",
},
},
icons = {
webdev_colors = true,
},
},
actions = { actions = {
open_file = { open_file = {
window_picker = { window_picker = {