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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
233
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
1 " Vim indent file
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
2 " Language: BibTeX
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
3 " Maintainer: Dorai Sitaram <ds26@gte.com>
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
4 " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
5 " Last Change: 2005 Mar 28
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
6
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
7 " Only do this when not done yet for this buffer
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
8 if exists("b:did_indent")
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
9 finish
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
10 endif
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
11 let b:did_indent = 1
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
12
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
13 setlocal cindent
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
14
fca8a9b65afa updated for version 7.0065
vimboss
parents:
diff changeset
15 let b:undo_indent = "setl cin<"