Mercurial > vim-lawrencium
annotate resources/hg_command_file_types.vim @ 149:5e72afea669c
Fix :Hgvdiff with a file that is a copy.
Previously,
:Hg rename old new
:" (A rename is a copy and a deletion of the file with the old name.)
:edit new
:Hgvdiff
" "new: no such file in rev NNNN" was displayed in the window to the right of the new vertical split.
Now :Hgvdiff diffs new with old from the head revision.
author | Shane Harper <shane@shaneharper.net> |
---|---|
date | Sat, 08 Feb 2020 20:52:39 +1100 |
parents | b484fe88c500 |
children |
rev | line source |
---|---|
46 | 1 " LAWRENCIUM - MERCURIAL COMMANDS FILE TYPES |
2 " | |
3 if !exists('g:lawrencium_hg_commands_file_types') | |
50
b484fe88c500
Fixed a bug initializing global setting.
Ludovic Chabant <ludovic@chabant.com>
parents:
46
diff
changeset
|
4 let g:lawrencium_hg_commands_file_types = {} |
46 | 5 endif |
6 | |
7 let g:lawrencium_hg_commands_file_types.diff = 'diff' | |
8 let g:lawrencium_hg_commands_file_types.glog = 'hggraphlog' | |
9 |