Here is the VimL code I wrote:
" Use some wierd Unicode chars to mark the region, '+' being put here
as a contrast.
syntax region myCmdLine matchgroup=myCmdLine_
start=/[⣱+]/ end=/[⡇⡗⡧+]/
hi link myCmdLine _LightGreen_233b5a
hi link myCmdLine_ Normal
syntax keyword myCmdName man bind less containedin=myCmdLine
contained
hi link myCmdName _Green_233b5a
And here's its effect on some simple demonstrating text (see attached image
file)
With '+' as the marker all three syntax keywords were correctlly recognized,
but not with the abnormal Unicode chars
Another thing is using '*' to do a quick search would work normally, as would
do the following search command:
/\<man\|bind\|less\>
'iskeyword' or 'regexpengine' option seems have no effect here.
Should this be considered a bug?
--
--
You received this message from the "vim_use" 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_use" 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/d/optout.