aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-12-17 13:06:51 +0100
committerGravatar GitHub <noreply@github.com>2019-12-17 13:06:51 +0100
commit0d352c4b3d750e2aa57cc374a6513b0cf4d1ab1e (patch)
tree1b014c1b0ffb3d3674135a86695eac3b83b1ae51
parent38ab4a9c974be4189bdf53f7d938a6197ba19119 (diff)
downloadnord-vim-0d352c4b3d750e2aa57cc374a6513b0cf4d1ab1e.tar.gz
Remove underline from gutter line numbers (#185)
Vim version 8.1.2029 [1] added the `underline` attribute for the `CursorLineNr` group to `cterm` [2] based on vim/vim#4933 [3]. This change resulted 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]: https://github.com/vim/vim/releases/tag/v8.1.2029 [2]: https://github.com/vim/vim/compare/d9b0d83b13d2691e4544709abd87eac004715175...017ba07fa2cdc578245618717229444fd50c470d#diff-80fffb3e9c20e93e5b2328a9a20e19c9 [3]: https://github.com/vim/vim/pull/4933 Resolves GH-174
-rwxr-xr-xcolors/nord.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index 69a7e5d..2bf6dd1 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -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", "", "")