nvim: prune
This commit is contained in:
parent
931ec0ea29
commit
54b6ca3f2b
2 changed files with 1 additions and 34 deletions
|
@ -62,7 +62,7 @@ function M.setup()
|
|||
-- Status type
|
||||
untracked = '',
|
||||
ignored = '',
|
||||
unstaged = '',
|
||||
unstaged = '',
|
||||
staged = '',
|
||||
conflict = '',
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue