add diffview pluging and tweaked code actions mapping

This commit is contained in:
Natercio Moniz
2025-03-21 15:39:06 +00:00
parent 15ab2a2802
commit 7d9a7f9547
3 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
return {
'sindrets/diffview.nvim',
cmd = { 'DiffviewOpen', 'DiffviewClose', 'DiffviewToggleFiles', 'DiffviewFocusFiles' },
}

View File

@@ -21,6 +21,19 @@ return {
['\\'] = 'close_window',
},
},
filtered_items = {
visible = false,
hide_dotfiles = false,
hide_gitignored = true,
hide_by_name = {
'.git',
'.DS_Store',
},
never_show = {},
always_show_by_pattern = {
'.env*',
},
},
},
buffers = {