aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-12-23 18:17:01 +0100
committerGitHub <noreply@github.com>2017-12-23 18:17:01 +0100
commitdee78a4095a27369e428572f74f7b64bcc5f670e (patch)
tree4f06de0fd7a5a80d746c2ffaf18cb0719e66cccd /runtime
parentec86f4215fc58246998c6017df84206153d0df1a (diff)
parent5cb7a709e7f60b0e7bcde70a1aa9fea5f060fe0f (diff)
downloadrneovim-dee78a4095a27369e428572f74f7b64bcc5f670e.tar.gz
rneovim-dee78a4095a27369e428572f74f7b64bcc5f670e.tar.bz2
rneovim-dee78a4095a27369e428572f74f7b64bcc5f670e.zip
Merge #7708 from ZyX-I/hide-container-impl
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 0b50340dee..a9474b58a3 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5493,7 +5493,7 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
sets buffer line boundaries to redraw screen. It is supposed
to be used when fast match additions and deletions are
required, for example to highlight matching parentheses.
-
+ *E5030* *E5031*
The list {pos} can contain one of these items:
- A number. This whole line will be highlighted. The first
line has number 1.
@@ -5507,6 +5507,10 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
- A list with three numbers, e.g., [23, 11, 3]. As above, but
the third number gives the length of the highlight in bytes.
+ Entries with zero and negative line numbers are silently
+ ignored, as well as entries with negative column numbers and
+ lengths.
+
The maximum number of positions is 8.
Example: >