Highlighting the current line number in vim

前端 未结 6 654
忘了有多久
忘了有多久 2021-01-30 20:47

Is there a way to highlight only the current line number (in the left hand coloumn) in vim, without highlighting the background of the current line? Ideally, I

6条回答
  •  有刺的猬
    2021-01-30 21:33

    This worked for me to highlight the line number and not the rest of the line:

    highlight CursorLineNr cterm=NONE ctermbg=15 ctermfg=8 gui=NONE guibg=#ffffff guifg=#d70000

提交回复
热议问题