commit 77490118b5af131a86bf392190e9e183f70cec12 (patch)
parent 8b1fb75881080789c34d8812df20788cb8b5dec0
Author: Alex Karle <alex@alexkarle.com>
Date: Mon, 21 Feb 2022 22:15:48 -0500
git: Add support for nvim as the vimdiff tool
Since nvim has no vimdiff(1) executable, it's necessary to spoof it
using the path (mostly because git-difftool(1) doesn't allow arbitrary
commands, so it doesn't support `nvim -d`).
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.gitconfig b/.gitconfig
@@ -7,6 +7,10 @@
[diff]
tool = vimdiff
+
+[difftool.vimdiff]
+ path = nvim
+
[color]
ui = false