annotate runtime/compiler/rst.vim @ 22278:0416105e103b v8.2.1688

patch 8.2.1688: increment/decrement removes text property Commit: https://github.com/vim/vim/commit/c8f12c9856df58c760fe54d81b2ec5ed4dcaffd6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 15 20:34:10 2020 +0200 patch 8.2.1688: increment/decrement removes text property Problem: Increment/decrement removes text property. Solution: Insert the new number before deleting the old one. (closes https://github.com/vim/vim/issues/6962)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Sep 2020 20:45:03 +0200
parents 4aae8146c21f
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
2 " Compiler: sphinx >= 1.0.8, http://www.sphinx-doc.org
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
3 " Description: reStructuredText Documentation Format
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 3237
diff changeset
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
5 " Latest Revision: 2017-03-31
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 let current_compiler = "rst"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 let s:cpo_save = &cpo
3237
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 839
diff changeset
13 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
15 if exists(":CompilerSet") != 2
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
16 command -nargs=* CompilerSet setlocal <args>
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
17 endif
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
18
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
19 CompilerSet errorformat=
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
20 \%f\\:%l:\ %tEBUG:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
21 \%f\\:%l:\ %tNFO:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
22 \%f\\:%l:\ %tARNING:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
23 \%f\\:%l:\ %tRROR:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
24 \%f\\:%l:\ %tEVERE:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
25 \%f\\:%s:\ %tARNING:\ %m,
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
26 \%f\\:%s:\ %tRROR:\ %m,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 \%DMaking\ %*\\a\ in\ %f
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 unlet s:cpo_save