annotate ftdetect/hgcommit.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 adc267e2f0f4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
adc267e2f0f4 Added syntax highlighting for hgstatus window.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 au BufRead,BufNewFile hg-editor-*.txt set filetype=hgcommit
adc267e2f0f4 Added syntax highlighting for hgstatus window.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2