mhartington / oceanic-next

Oceanic Next theme for neovim
Other
1.14k stars 141 forks source link

Diff UI suggestion for current line no. hightlighter #55

Closed PezCoder closed 7 years ago

PezCoder commented 7 years ago

Suggestion

Will you be interested in making the current line highlighted number to get highlighted in-place rather than shifting on to the left ? Something like this:

screen shot 2017-07-24 at 9 52 34 am

(colors are from different scheme avoid those, see just the line numbers)

I would be happy to do it if you agree.

mhartington commented 7 years ago

Something along the lines of this? Line number 5 screen shot 2017-07-24 at 9 44 42 am

PezCoder commented 7 years ago

Yo.. Looks perfect 👌🏼

mhartington commented 7 years ago

I added an option for this

let g:oceanic_next_highlight_current_line = 1

be sure to add set cursorline too.

mhartington commented 7 years ago

Having just reverted this commit, to get this effect again, add the following to your rc file.

colorscheme OceanicNext
" highlight current line number
set cursorline
"override some theme settings
hi clear CursorLine
hi CursorLineNR guifg=#ffffff guibg=#1b2b34