Skip to content

Commit 3993868

Browse files
committed
Use diff.exe as default diff command on Windows
Instead of diff which may be aliased in some way, e.g. diff.cmd See ntpeters#121, ntpeters#111 and ntpeters#109.
1 parent 2f9aa7b commit 3993868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/better-whitespace.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ call s:InitVariable('better_whitespace_verbosity', 0)
6767

6868
" Bypass the aliases set for diff by default
6969
if has("win32") || has("win16")
70-
call s:InitVariable('diff_binary', 'diff')
70+
call s:InitVariable('diff_binary', 'diff.exe')
7171
else
7272
call s:InitVariable('diff_binary', 'command diff')
7373
endif

0 commit comments

Comments
 (0)