Hi, thanx a lot. 

@-tim: What you wrote works pretty well already, but the lines including
'noshow' should also be hilighted _although_ they include column. 

I tryed to figure out the right way by myself but could find the right
pattern that does both at the same time. For example 

:match Comment /.*column\(\(noshow)\...@!.\)*$/       => Error message: "not
valid"
:match Comment /^\%(column\%(\%(noshow\)\...@!.\)\)*$/  => Doesn't work (no
Error message)

Btw, what does the \%( do, I also couldn't find out this, and
/^\(\(column\|noshow\)\...@!.\)*$/ (without %) does the same...


-- 
View this message in context: 
http://www.nabble.com/Highlight-whole-line-if-keyword-is-not-there-tp22028577p22049493.html
Sent from the Vim - General mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to