Mercurial > vim
view runtime/indent/bib.vim @ 4527:55bcaa1d2749 v7.3.1011
updated for version 7.3.1011
Problem: New regexp engine is inefficient with multi-byte characters.
Solution: Handle a character at a time instead of a byte at a time. Also
make \Z partly work.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 24 May 2013 21:59:54 +0200 |
parents | fca8a9b65afa |
children |
line wrap: on
line source
" Vim indent file " Language: BibTeX " Maintainer: Dorai Sitaram <ds26@gte.com> " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html " Last Change: 2005 Mar 28 " Only do this when not done yet for this buffer if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal cindent let b:undo_indent = "setl cin<"