-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
183 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ public enum DiffTool | |
Diffinity, | ||
VisualStudio, | ||
VisualStudioCode, | ||
Rider | ||
Rider, | ||
Vim | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using DiffEngine; | ||
|
||
static partial class Implementation | ||
{ | ||
public static Definition Vim() | ||
{ | ||
string Arguments(string temp, string target) | ||
{ | ||
return $"-d \"{temp}\" \"{target}\" -c \"setl autoread | setl nobackup | set noswapfile\""; | ||
} | ||
|
||
return new Definition( | ||
name: DiffTool.Vim, | ||
url: "https://www.vim.org/", | ||
autoRefresh: true, | ||
isMdi: false, | ||
supportsText: true, | ||
shellExecute: true, | ||
requiresTarget: true, | ||
binaryExtensions: Array.Empty<string>(), | ||
windows: new OsSettings(Arguments, @"%ProgramFiles%\Vim\*\vim.exe"), | ||
notes: @" | ||
* [Options](http://vimdoc.sourceforge.net/htmldoc/options.html) | ||
* [Vim help files](https://vimhelp.org/) | ||
* [autoread](http://vimdoc.sourceforge.net/htmldoc/options.html#'autoread') | ||
* [nobackup](http://vimdoc.sourceforge.net/htmldoc/options.html#'backup') | ||
* [noswapfile](http://vimdoc.sourceforge.net/htmldoc/options.html#'swapfile')"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.