You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
If a [row,col] position is concealed through matchadd("Conceal", ...) then there's no way to detect its concealment, unlike positions concealed through syn match [pattern] which can be detected through synconcealed.
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
If a [row,col] position is concealed through
matchadd("Conceal", ...)
then there's no way to detect its concealment, unlike positions concealed throughsyn match [pattern]
which can be detected throughsynconcealed
.Demonstration
Using the above script,
[0, '', 0]
will be printed fromsynconcealed
although the character is, in fact, concealed.The same approach, but replacing
matchadd("Conceal",...)
forsyn match [pattern]
:Using the above script,
[1, '', 1]
will be printed fromsynconcealed
and that can be used to detect the concealment.Describe the solution you'd like
Extend
synconcealed
to also work for characters concealed throughmatchadd
or create a newmatchconcealed
API for detecting them.The text was updated successfully, but these errors were encountered: