annotate runtime/indent/bib.vim @ 22527:c3e3c5707fe9
v8.2.1812
patch 8.2.1812: Vim9: nested closure throws an internal error
Commit: https://github.com/vim/vim/commit/0876c78527469ddf50c23244566dd5bc35004307
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 7 19:08:04 2020 +0200
patch 8.2.1812: Vim9: nested closure throws an internal error
Problem: Vim9: nested closure throws an internal error.
Solution: Do not skip a local variable with a partial. (closes https://github.com/vim/vim/issues/7065)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 07 Oct 2020 19:15:04 +0200 |
parents |
fca8a9b65afa |
children |
|
rev |
line source |
233
|
1 " Vim indent file
|
|
2 " Language: BibTeX
|
|
3 " Maintainer: Dorai Sitaram <ds26@gte.com>
|
|
4 " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
|
5 " Last Change: 2005 Mar 28
|
|
6
|
|
7 " Only do this when not done yet for this buffer
|
|
8 if exists("b:did_indent")
|
|
9 finish
|
|
10 endif
|
|
11 let b:did_indent = 1
|
|
12
|
|
13 setlocal cindent
|
|
14
|
|
15 let b:undo_indent = "setl cin<"
|