view runtime/indent/bib.vim @ 31069:39698292a849 v9.0.0869

patch 9.0.0869: bogus error when string used after :elseif Commit: https://github.com/vim/vim/commit/28c56d501352bd98472d23667bade683877cadcc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 12 23:12:55 2022 +0000 patch 9.0.0869: bogus error when string used after :elseif Problem: Bogus error when string used after :elseif. Solution: Do not consider a double quote the start of a comment. (closes #11534)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Nov 2022 00:15:03 +0100
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<"