view ftplugin/hglog.vim @ 61:ea794e48d4e2

Better way to handle buffer actions: - Added buffer object with on delete/windows leave callbacks. - Added helper functions to open and delete "dependency" buffers. - Using that new system to handle diffs opened by `Hgannotate` and `Hglog`.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 23 Nov 2012 13:43:08 -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