Skip to content

Commit

Permalink
Remove underline from gutter line numbers
Browse files Browse the repository at this point in the history
Vim version v8.1.2029 [1] added the `underline` attribute for the
`CursorLineNr` group to `cterm` based on vim/vim#4933 [2].
This change results in gutter line numbers being underlined which has
now been reverted back to Nord's style by explicitly setting the
attribute for the group to `NONE`.

[1]: vim/vim@d9b0d83...017ba07#diff-80fffb3e9c20e93e5b2328a9a20e19c9
[2]: vim/vim#4933

GH-174
  • Loading branch information
arcticicestudio committed Dec 17, 2019
1 parent 38ab4a9 commit 4eff118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colors/nord.vim
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ endif
"+--- Gutter ---+
call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "")
if g:nord_cursor_line_number_background == 0
call s:hi("CursorLineNr", s:nord4_gui, s:nord0_gui, "NONE", "", "", "")
call s:hi("CursorLineNr", s:nord4_gui, s:nord0_gui, "NONE", "", "NONE", "")
else
call s:hi("CursorLineNr", s:nord4_gui, s:nord1_gui, "NONE", s:nord1_term, "", "")
call s:hi("CursorLineNr", s:nord4_gui, s:nord1_gui, "NONE", s:nord1_term, "NONE", "")
endif
call s:hi("Folded", s:nord3_gui, s:nord1_gui, s:nord3_term, s:nord1_term, s:bold, "")
call s:hi("FoldColumn", s:nord3_gui, s:nord0_gui, s:nord3_term, "NONE", "", "")
Expand Down

0 comments on commit 4eff118

Please sign in to comment.