Mercurial > vim-lawrencium
comparison plugin/hglog.vim @ 53:b7caa6693c39
`Hglog` window improvements:
- Using a better looking Mercurial style file.
- Using syntax highlighting.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 10 Nov 2012 22:53:46 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
52:cd0b1cea326c | 53:b7caa6693c39 |
---|---|
1 " Vim filetype plugin file | |
2 " Language: hg log output | |
3 " Maintainer: Ludovic Chabant <ludovic@chabant.com> | |
4 | |
5 if exists("b:did_ftplugin") | |
6 finish | |
7 endif | |
8 let b:did_ftplugin = 1 | |
9 | |
10 let s:cpo_save = &cpo | |
11 set cpo&vim | |
12 | |
13 let b:undo_ftplugin = "setlocal cole< cocu<" | |
14 | |
15 if has("conceal") | |
16 setlocal cole=2 cocu=nc | |
17 endif | |
18 | |
19 let &cpo = s:cpo_save | |
20 unlet s:cpo_save |