diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-04-18 15:43:32 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-04-18 15:43:32 +0200 |
commit | cd39bcd1b1b6382dee1927e01ddf31e43ad7381c (patch) | |
tree | 5ee2234766438f45d1de8711b18b892370645fe9 | |
parent | f6413e94f95f7ef63abfa6556076d862b36b79e1 (diff) | |
download | vim-diff_navigator-cd39bcd1b1b6382dee1927e01ddf31e43ad7381c.tar.gz |
Don't do b:did_ftplugin thing, it prevents plugin from loading.
-rw-r--r-- | ftplugin/diff_navigator.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ftplugin/diff_navigator.vim b/ftplugin/diff_navigator.vim index efce948..7e28b36 100644 --- a/ftplugin/diff_navigator.vim +++ b/ftplugin/diff_navigator.vim @@ -27,10 +27,10 @@ " Only do this when not done yet for this buffer " Usually, not needed, just for the keeping normal API -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 +" if exists("b:did_ftplugin") +" finish +" endif +" let b:did_ftplugin = 1 " Load this plugin only once if exists("g:loaded_diff_navigator") @@ -53,13 +53,13 @@ endfunction " From http://www.clearchain.com/blog/posts/splitting-a-patch " ----------------------------------------------------------- " -" here’s at least some info about the format of a patch file. +" here's at least some info about the format of a patch file. " " @@ -143,6 +143,13 @@ " " the first number is the starting line for this hunk in oldfile " the second number is the number of original source lines in this -" hunk (this includes lines marked with “-”) +" hunk (this includes lines marked with "-") " the third number is the starting line for this hunk in newfile " the last number is the number of lines after the hunk has been applied. function s:parseHunkHeader(lineno) |