view runtime/indent/bib.vim @ 3594:a220dd97b5c7 v7.3.557

updated for version 7.3.557 Problem: Crash when an autocommand wipes out a buffer when it is hidden. Solution: Restore the current window when needed. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 20 Jun 2012 11:55:01 +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<"