On Mar 21, 6:33 am, Eric Smith <e...@fruitcom.com> wrote: > I want a line to have mixed styles. > > For example a line beginning with a space > to have the space with bg red and the text that follows in another > colour.
Not sure what the use case is here, but you can definitely mix colors and text attributes (bold, underline, etc...) in an arbitrary fashion with the Txtfmt plugin: http://www.vim.org/scripts/script.php?script_id=2208 Of course, you can also define static syntax regions if the highlighting you require follows predictable patterns... Brett Stahlman > > What is the correct way to define this without the one overriding the > other? > > Thanks vim friends > > -- > - Eric Smith -- 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