[patch] LineNr highlight group
- (if this is a dup, sorry, I just changed mail accounts)
I recently became a full hog vim guy. I use it on the terminal a lot
and I wanted to make it so the cursor line number had its own syntax
highlighting. This is because on a Linux terminal there isn't a subtle
way of emphasizing the current line. As a result I created this patch.
The patch creates a CursorLineNr highlighting group. It is only active
if cursorline is set. But it allows the user to change the line number
highlighting independently of the rest of the line.
The following would shut off highlighting on the text, but set the line
number color to 3.
:hi CursorLine cterm=none
:hi CursorLineNr ctermfg=3
Bram suggested I submit my patch on this list, and as a result I
include it here. I hope you try it and like it.
Thanks for your consideration,
You received this message from the "vim_dev" 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