From 4800f2310f04c52cd18384bd6086313f64f0d097 Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Wed, 27 Apr 2022 22:57:47 +0200 Subject: [PATCH] fix(nvim): remove deprecated option in nvimtree config --- nvim/.config/nvim/lua/plugins/nvimtree.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/plugins/nvimtree.lua b/nvim/.config/nvim/lua/plugins/nvimtree.lua index 0666308..6345652 100644 --- a/nvim/.config/nvim/lua/plugins/nvimtree.lua +++ b/nvim/.config/nvim/lua/plugins/nvimtree.lua @@ -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_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 @@ -96,6 +95,19 @@ require('nvim-tree').setup { hide_root_folder = false, side = 'left', }, + renderer = { + indent_markers = { + enable = false, + icons = { + corner = "└ ", + edge = "│ ", + none = " ", + }, + }, + icons = { + webdev_colors = true, + }, + }, actions = { open_file = { window_picker = {