Highlighting the current line number in vim

前端 未结 6 663
忘了有多久
忘了有多久 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:38

    The help for highlight-groups does not mention an exclusive "number of current line" syntax group, so the official answer might be no.

    You may want to take a look in the cursorline option which highlights the entire line, if it helps.

提交回复
热议问题