Argh, apologies, that didn't come out right. Let me try again.
If I have these lines on screen:
abc
> abcd
> @abc
>
..and I type:
:call matchadd('Identifier', '\<abc\>')
This causes the bolded bits to be colorized, as expected:
*abc*
> abcd
> @*abc*
>
However, if I instead type:
:call matchadd('Identifier', '\<@abc\>')
then nothing is colorized. That seems surprising. I expected to see the
same behavior as if I'd typed:
:call matchadd('Identifier', '@abc')
In this case the third line colorizes. Are others able to reproduce this?
I'd like to colorize specific patterns with more than a single word that
are surrounded by word boundaries, but can't figure out how to do so.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.