On 01/07/2011 03:33 AM, Róbert Kohányi wrote:
I've wondered about that if is there a way in Vim to change the color of
specific line numbers? Obviously after :set number. For the purpose of
highlighting line numbers where marks are set or something.

If you're willing to have just that line-number highlighted (regardless if text is inserted above, pushing down the previously-highlighted line), you can do something like

  :match Search /\%15l\|\%23l/

to highlight lines 15 and 23 (you can pick whichever search-group you want...I just chose "Search" arbitrarily).

-tim

--
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

Reply via email to