1
0
Fork 0
dotfiles/home/config/nvim/plugins/diffview.fnl
Daniel Kempkens 131ef3fe3c
All checks were successful
Update Flake / update-flake (push) Successful in 2m33s
Build / build-amd64-linux (push) Successful in 1m42s
Build / build-arm64-linux (push) Successful in 12m44s
nvim: git integration improvements
2024-01-02 23:35:15 +01:00

5 lines
306 B
Fennel

(let [diffview (require :diffview)]
(diffview.setup {:hooks {:diff_buf_read (fn [_bufnr]
(set vim.opt_local.relativenumber
false)
(set vim.b.toggle_line_style 0))}}))