view runtime/indent/bib.vim @ 5844:8ec9d2196bee v7.4.265

updated for version 7.4.265 Problem: Can't call a global function with "g:" in an expression. Solution: Skip the "g:" when looking up the function.
author Bram Moolenaar <bram@vim.org>
date Thu, 24 Apr 2014 17:12:33 +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<"