krabu wrote: > Hi, > > I need to highlight lines in grey text color, if there is not the keyword > "column" OR if there is the keyword "noshow". I want the whole line to be > affected, but the keywords are not at the beginning of the line. > > After reading the manual and trying out a lot of things for a couple of days > now, I hope posting the question here brings the answer. Is it possible to > highlight like this in Vim? > > Another thing: is it possible to fold the affected lines? > Are you willing to use :set hls ?
If so, then you might find LogiPat helpful. In your case, :set hls :LogiPat !"\<column\>" | "\<noshow\>" will do the highlighting you requested. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---