mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-05 23:29:27 +01:00
26 lines
552 B
Lua
26 lines
552 B
Lua
local map = vim.api.nvim_set_keymap
|
|
|
|
require("nvim-tree").setup {
|
|
open_on_setup = not vim.g.started_by_vinput,
|
|
open_on_setup_file = false,
|
|
actions = {
|
|
change_dir = {
|
|
global = true,
|
|
},
|
|
},
|
|
view = {
|
|
adaptive_size = true,
|
|
},
|
|
diagnostics = {
|
|
enable = true,
|
|
},
|
|
git = {
|
|
ignore = false,
|
|
},
|
|
renderer = {
|
|
indent_markers = { enable = true },
|
|
group_empty = true,
|
|
},
|
|
}
|
|
|
|
map("n", "TT", [[<cmd>NvimTreeToggle<CR>]], { noremap = true, silent = true })
|