From bc05e4be0864af19935b70dc6b31947998a38206 Mon Sep 17 00:00:00 2001 From: c-my Date: Mon, 11 Apr 2022 01:06:46 +0800 Subject: [PATCH] fix: move option "nvim_tree_indent_markers" to setup --- lua/plugins/configs/nvimtree.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index 79e1781..a93a102 100644 --- a/lua/plugins/configs/nvimtree.lua +++ b/lua/plugins/configs/nvimtree.lua @@ -4,7 +4,6 @@ local g = vim.g g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names g.nvim_tree_git_hl = 0 g.nvim_tree_highlight_opened_files = 0 -g.nvim_tree_indent_markers = 1 g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" } g.nvim_tree_show_icons = { @@ -72,6 +71,11 @@ local default = { resize_window = true, }, }, + renderer = { + indent_markers = { + enable = true, + } + } } local M = {}