view ftplugin/hglog.vim @ 111:01edb7c58e0c

Don't touch vim registers holding deletions. (Fix commit c02360b5f... where typing 'p' after :Hgvdiff would paste a blank line and not what the user had previously deleted.)
author Shane Harper <shane@shaneharper.net>
date Thu, 04 Dec 2014 11:09:19 +1100
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