6 Commits

Author SHA1 Message Date
Ingo Karkat d4c6b7cca7 Add ingo#syntaxitem#HasHighlighting() from SameSyntaxMotion.vim
Originally s:IsWithoutHighlighting( synID ), but include the non-negated form.
2022-03-03 20:59:28 +01:00
Ingo Karkat a6260faf80 Cosmetics: Fix typo 2019-09-09 14:42:50 +02:00
Ingo Karkat 8db4e0e837 BUG: ingo#syntaxitem#IsOnSyntax() considers empty a:stopItemPattern as unconditional stop
This affected "goy" from SearchInSyntax.vim, leading to no matches for the default ^Constant$ pattern (that's how I recognized the bug).
2017-10-13 13:09:43 +02:00
Ingo Karkat 924840d508 ENH: ingo#syntaxitem#IsOnSyntax(): Allow optional a:stopItemPattern to avoid considering syntax items at the bottom of the stack 2017-05-26 17:56:44 +02:00
Ingo Karkat 5438b84708 ingo#syntaxitem#IsOnSyntax(): Factor out synstack() emulation into ingo#compat#synstack() and unify similar function variants 2017-05-26 17:56:38 +02:00
Ingo Karkat 8ecfe25f05 file creation 2017-05-26 17:56:35 +02:00