mzte-nv: gitsigns works again
This commit is contained in:
parent
dfb37bcb33
commit
cc5c19cff0
|
@ -0,0 +1,14 @@
|
|||
(local gitsigns (require :gitsigns))
|
||||
|
||||
(fn on-attach [bufnr]
|
||||
(print :attached bufnr)
|
||||
(vim.keymap.set :n :gV
|
||||
(fn []
|
||||
(gitsigns.toggle_deleted)
|
||||
(gitsigns.toggle_numhl)
|
||||
(gitsigns.toggle_linehl)
|
||||
(gitsigns.toggle_word_diff)
|
||||
(gitsigns.toggle_current_line_blame))
|
||||
{:buffer bufnr}))
|
||||
|
||||
(gitsigns.setup {:on_attach on-attach})
|
|
@ -33,7 +33,8 @@
|
|||
:noice
|
||||
:tsn-actions
|
||||
:lightbulb
|
||||
:dressing])
|
||||
:dressing
|
||||
:gitsigns])
|
||||
|
||||
(local errors {})
|
||||
|
||||
|
|
Loading…
Reference in New Issue