annotate resources/hg_command_file_types.vim @ 113:8718e6dbea1e

Fix a bug with `:Hgstatus` showing diff summaries in its own window. This could happen when the user would commit from the status window, and do a `:Hgstatusvdiffsum` right away. It wouldn't find the previous window because it would be gone (the commit message window), so it would split the status window itself, which is often too small. Now Lawrencium tries to avoid picking the status window itself, and will just find any other window instead.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 27 Dec 2014 17:58:36 -0800
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