add diffview pluging and tweaked code actions mapping
This commit is contained in:
4
lua/custom/plugins/diffview.lua
Normal file
4
lua/custom/plugins/diffview.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
'sindrets/diffview.nvim',
|
||||
cmd = { 'DiffviewOpen', 'DiffviewClose', 'DiffviewToggleFiles', 'DiffviewFocusFiles' },
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user