diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-01-22 23:13:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 23:13:54 +0100 |
commit | 3308b76339ca633edb1d97718cc42051e3ff9a79 (patch) | |
tree | 36a0991be48d1f1d3d94ab4fa65c9753c871f54d /runtime | |
parent | 84d4e4a7ef70e594cca6af96fd0967ce089f6db0 (diff) | |
parent | 872ee4259aa0c3babcc532c2aa1ccef6f7693221 (diff) | |
download | rneovim-3308b76339ca633edb1d97718cc42051e3ff9a79.tar.gz rneovim-3308b76339ca633edb1d97718cc42051e3ff9a79.tar.bz2 rneovim-3308b76339ca633edb1d97718cc42051e3ff9a79.zip |
Merge #7890 'vim-patch: various'
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 7820b85bf4..8771604c89 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7602,17 +7602,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()* |