view runtime/indent/bib.vim @ 33458:f4c83cd2132c

runtime(netrw): error when trying to :bd unloaded buffer Commit: https://github.com/vim/vim/commit/4dbb2669e9ed9ec6864705dcb569715e417e1303 Author: yasuda <yasuda@kyoto-sr.co.jp> Date: Wed Oct 4 20:50:35 2023 +0200 runtime(netrw): error when trying to :bd unloaded buffer closes: https://github.com/vim/vim/issues/13215 closes: https://github.com/vim/vim/issues/13082 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 04 Oct 2023 21:00:03 +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<"