Skip to content

Commit 344d1c1

Browse files
committed
remove difftool
Better command is now part of neovim itself: neovim/neovim#35448 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
1 parent 2ec6b81 commit 344d1c1

2 files changed

Lines changed: 0 additions & 346 deletions

File tree

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -74,37 +74,6 @@ Command-line autocompletion
7474
## diagnostics
7575
Automatically disable `DiagnosticUnnecessary` highlighting for code under cursor.
7676

77-
## difftool
78-
`DiffTool <left> <right>` command for integration with `git difftool` and `git difftool --dir-diff`.
79-
80-
### Default config
81-
```lua
82-
{
83-
rename = {
84-
detect = true, -- whether to detect renames, can be slow on large directories so disable if needed
85-
similarity = 0.5, -- minimum similarity for rename detection
86-
max_size = 1024 * 1024, -- maximum file size for rename detection
87-
},
88-
highlight = {
89-
A = 'DiffAdd', -- Added
90-
D = 'DiffDelete', -- Deleted
91-
M = 'DiffText', -- Modified
92-
R = 'DiffChange', -- Renamed
93-
},
94-
}
95-
```
96-
97-
### Usage
98-
Add this to your `gitconfig`:
99-
100-
```ini
101-
[diff]
102-
tool = nvim_difftool
103-
104-
[difftool "nvim_difftool"]
105-
cmd = nvim -c \"DiffTool $LOCAL $REMOTE\"
106-
```
107-
10877
## httpyac
10978
Simple plugin for running http files using [httpyac](https://httpyac.github.io/)
11079

lua/myplugins/difftool.lua

Lines changed: 0 additions & 315 deletions
This file was deleted.

0 commit comments

Comments
 (0)