view ftplugin/hglog.vim @ 73:785d1a1faa6c

Changes and fixes to the `Hglog` window: - Fixed a bug with showing diffs. - Made the diff behaviour and commands more consistent with those of the `Hgstatus` window.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 16 Feb 2014 22:33:11 -0800
parents ec0368535216
children
line wrap: on
line source

" 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