view runtime/indent/bib.vim @ 27904:7422add1afd1 v8.2.4477

patch 8.2.4477: crash when using fuzzy completion Commit: https://github.com/vim/vim/commit/29ab6ce9f36660cffaad3c8789e71162e5db5d2f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 26 15:52:08 2022 +0000 patch 8.2.4477: crash when using fuzzy completion Problem: Crash when using fuzzy completion. Solution: Temporary fix: put back regexp. (closes https://github.com/vim/vim/issues/9851)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Feb 2022 17:00:04 +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<"