Mercurial > vim-lawrencium
changeset 54:ec0368535216
Moving `hglog` file type plugin to `ftplugin` directory where it belongs.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 11 Nov 2012 10:36:13 -0800 |
parents | b7caa6693c39 |
children | 6a61724190ea |
files | ftplugin/hglog.vim plugin/hglog.vim |
diffstat | 2 files changed, 20 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ftplugin/hglog.vim Sun Nov 11 10:36:13 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
--- a/plugin/hglog.vim Sat Nov 10 22:53:46 2012 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -" 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