diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugin/hglog.vim	Sat Nov 10 22:53:46 2012 -0800
@@ -0,0 +1,20 @@
+" Vim filetype plugin file
+" Language:     hg log output
+" Maintainer:   Ludovic Chabant <ludovic@chabant.com>
+
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+let b:undo_ftplugin = "setlocal cole< cocu<"
+
+if has("conceal")
+    setlocal cole=2 cocu=nc
+endif
+
+let &cpo = s:cpo_save
+unlet s:cpo_save