summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-22 22:00:50 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-22 22:00:50 +0200
commit4d785895d1f8b54cdd3fabd87446ca692f49e94e (patch)
treed542ce7d05e2d7875f2d2523bbd16281cd0ca830 /runtime/doc
parentd2c061d24c0534f1f1b92f3462ed6ae8fa848a9a (diff)
downloadvim-git-4d785895d1f8b54cdd3fabd87446ca692f49e94e.tar.gz
patch 8.0.0659: no test for conceal modev8.0.0659
Problem: No test for conceal mode. Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 818a0d7b4..04cad9dcd 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -7655,17 +7655,20 @@ synIDtrans({synID}) *synIDtrans()*
":highlight link" are followed.
synconcealed({lnum}, {col}) *synconcealed()*
- The result is a List. The first item in the list is 0 if the
- character at the position {lnum} and {col} is not part of a
- concealable region, 1 if it is. The second item in the list is
- a string. If the first item is 1, the second item contains the
- text which will be displayed in place of the concealed text,
- depending on the current setting of 'conceallevel'. The third
- and final item in the list is a unique number representing the
- specific syntax region matched. This allows detection of the
- beginning of a new concealable region if there are two
- consecutive regions with the same replacement character.
- For an example use see $VIMRUNTIME/syntax/2html.vim .
+ The result is a List with currently three items:
+ 1. The first item in the list is 0 if the character at the
+ position {lnum} and {col} is not part of a concealable
+ region, 1 if it is.
+ 2. The second item in the list is a string. If the first item
+ is 1, the second item contains the text which will be
+ displayed in place of the concealed text, depending on the
+ current setting of 'conceallevel' and 'listchars'.
+ 3. The third and final item in the list is a unique number
+ representing the specific syntax region matched. This
+ allows detection of the beginning of a new concealable
+ region if there are two consecutive regions with the same
+ replacement character. For an example use see
+ $VIMRUNTIME/syntax/2html.vim .
synstack({lnum}, {col}) *synstack()*