When certain patterns given to the :match command or to the
matchadd() function match an entire line, the character position to
the right of the end of the line is highlighted as well.

For example:

    :match CursorLine /\%3l.*/

or

    :echo matchadd("CursorLine", '\%3l.*')

This also happens for the pattern ".*".  It does not happen if the
pattern includes a string, such as

    :match CursorLine /.*given.*/

Adding "$" to the end of the pattern seems to have no effect.

This looks like a bug.

Regards,
Gary

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui