I used a matchadd() pattern to highlight functions that violate my team's 
coding standards by being too many lines.

It works...but only if the first line of the function is currently visible in 
the window. As soon as I scroll the start of the match off-screen, the match 
disappears.

Is there a way to force matches defined with matchadd() to consider lines that 
are not currently visible on-screen? It makes sense for efficiency to not 
consider these for single-line patterns, but patterns that match multiple lines 
are broken by this optimization. So I'm hoping there's an option or a flag or 
something that I'm missing.

-- 
-- 
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 vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to