annotate runtime/indent/bib.vim @ 30007:4123e4bd1708
v9.0.0341
patch 9.0.0341: mapset() does not restore <Nop> mapping properly
Commit: https://github.com/vim/vim/commit/92a3d20682d46359bb50a452b4f831659e799155
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Aug 31 16:40:17 2022 +0100
patch 9.0.0341: mapset() does not restore <Nop> mapping properly
Problem: mapset() does not restore <Nop> mapping properly.
Solution: Use an empty string for <Nop>. (closes https://github.com/vim/vim/issues/11022)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 31 Aug 2022 17:45:03 +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<"
|