NVim-Tree

This commit is contained in:
2025-01-06 14:51:56 +01:00
parent 2961284273
commit 80f7040580
2 changed files with 46 additions and 1 deletions
+11
View File
@@ -104,6 +104,17 @@ return packer.startup(function(use)
end
}
-- ----------------------------------------------------
-- nvim-tree
-- ----------------------------------------------------
use {
"nvim-tree/nvim-tree.lua",
config = function()
require( "roka.plug.nvim-tree")
end
}
-- --------------------------------------------------------------
-- autocompletion
-- --------------------------------------------------------------
+34
View File
@@ -0,0 +1,34 @@
local setup, nvimtree = pcall( require, "nvim-tree")
if not setup then
return
end
-- recommended settings from nvim-tree documentation
vim.g.loaded = 1
vim.g.loaded_netrwPlugin = 1
vim.cmd( [[ highlight NvimTreeIndentMarker guifg = #3FC5FF ]])
nvimtree.setup({
renderer = {
icons = {
glyphs = {
folder = {
arrow_closed = "",
arrow_open = "",
},
},
},
},
-- disable window_picker for explorer
-- to work well with window splits
actions = {
open_file = {
window_picker = {
enable = false,
},
},
},
})