2024-08-01 20:51:42 +00:00
|
|
|
(let [diffview (require :diffview)
|
|
|
|
actions (require :diffview.actions)]
|
2024-01-02 22:35:15 +00:00
|
|
|
(diffview.setup {:hooks {:diff_buf_read (fn [_bufnr]
|
|
|
|
(set vim.opt_local.relativenumber
|
|
|
|
false)
|
2024-08-01 20:51:42 +00:00
|
|
|
(set vim.b.toggle_line_style 0))
|
|
|
|
:view_opened #(actions.toggle_files)}}))
|