Files
neovim/runtime/doc
Tomas Slusny fec02ae8e4 feat(plugins): nvim.difftool can compare directories #35448
Problem:
Built-in diff mode (nvim -d) does not support directory diffing
as required by git difftool -d. This makes it difficult to compare
entire directories, detect renames, and navigate changes efficiently.

Solution:
Add a DiffTool plugin and command that enables side-by-side diffing of
files and directories in Neovim. The plugin supports rename detection,
highlights changes in the quickfix list, and provides a user command for
easy invocation. This allows proper integration with git difftool -d for
directory comparison.

Example git config:

```ini
[diff]
    tool = nvim_difftool

[difftool "nvim_difftool"]
    cmd = nvim -c "packadd nvim.difftool" -c "DiffTool $LOCAL $REMOTE"
```

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Co-authored-by: Phạm Bình An <111893501+brianhuster@users.noreply.github.com>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2025-10-11 19:24:39 -07:00
..
2025-09-16 11:41:36 +08:00
2025-09-28 20:57:59 -07:00
2023-07-25 05:07:13 -07:00
2025-09-03 23:03:51 -04:00
2025-07-10 21:50:46 -04:00
2025-05-03 10:08:53 -07:00
2024-05-15 23:19:26 +02:00
2025-04-27 15:44:11 -07:00
2025-09-16 11:41:36 +08:00
2023-06-25 17:14:28 +02:00
2025-09-13 22:49:50 -04:00
2025-09-17 09:09:49 -07:00
2025-09-10 21:16:13 -07:00
2025-09-28 20:57:59 -07:00
2025-09-13 22:49:50 -04:00
2025-06-14 17:24:36 +02:00
2025-05-03 10:08:53 -07:00
2025-09-03 23:03:51 -04:00
2022-10-14 08:01:13 -07:00
2025-09-28 20:57:59 -07:00
2025-09-16 11:41:36 +08:00
2024-01-18 00:14:48 -08:00
2025-05-03 15:47:59 -07:00
2023-08-10 17:28:02 +08:00
2025-01-03 08:29:36 -08:00
2024-04-23 08:20:36 +08:00
2024-05-11 18:14:03 +08:00
2023-04-23 15:22:55 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2021-04-29 20:42:16 -04:00
2023-07-25 05:07:13 -07:00
2025-06-18 12:12:23 +02:00
2023-06-19 08:40:33 -07:00