plugins/explorer: add usefull renderer parameters to nvim-tree

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-25 22:33:29 +03:00
parent b6f33bfb03
commit 9dca04d9b2
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -3,6 +3,10 @@
-- empty setup using defaults -- empty setup using defaults
require("nvim-tree").setup({ require("nvim-tree").setup({
open_on_setup = true, open_on_setup = true,
renderer = {
group_empty = true,
full_name = true,
},
}) })
vim.keymap.set("n", "<leader>nt", "<Cmd>NvimTreeToggle<CR>") vim.keymap.set("n", "<leader>nt", "<Cmd>NvimTreeToggle<CR>")