annotate resources/hg_command_file_types.vim @ 150:7aa118f73e8c

Improve support for moved files in diff commands. Now we only check for moved files if we get an empty diff/cat output from the normal codepath. We also do that for both sides of a diff, and for the diff-summary commands.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 10 Oct 2020 09:30:27 -0700
parents b484fe88c500
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 " LAWRENCIUM - MERCURIAL COMMANDS FILE TYPES
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 "
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
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
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 endif
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 let g:lawrencium_hg_commands_file_types.diff = 'diff'
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 let g:lawrencium_hg_commands_file_types.glog = 'hggraphlog'
6a4f5200d8da `:Hg!` command changes:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9