1
0
Fork 0

nvim: prune

This commit is contained in:
Vladimír Dudr 2022-11-09 20:21:16 +01:00
parent 931ec0ea29
commit 54b6ca3f2b
2 changed files with 1 additions and 34 deletions

View file

@ -62,7 +62,7 @@ function M.setup()
-- Status type
untracked = '',
ignored = '',
unstaged = '',
unstaged = '',
staged = '',
conflict = '',
}

View file

@ -1,33 +0,0 @@
local M = {}
function M.setup()
require('nvim-tree').setup({
sync_root_with_cwd = true,
renderer = {
add_trailing = true,
special_files = {},
highlight_git = true,
indent_markers = {
enable = true,
},
icons = {
show = {
file = false,
folder = false,
folder_arrow = false,
git = false
}
},
},
git = {
ignore = true
},
filters = {
dotfiles = true,
},
})
vim.api.nvim_set_keymap('n', '<F3>', [[<Cmd>NvimTreeToggle<CR>]], {})
vim.api.nvim_set_keymap('n', '<F4>', [[<Cmd>NvimTreeFindFile<CR>]], {})
end
return M