From 3b306306cb94e8e31769504bffb8abb440b41459 Mon Sep 17 00:00:00 2001 From: dylnmc Date: Fri, 9 Mar 2018 23:04:21 -0500 Subject: [PATCH] Implement config to toggle underlines All underlines can be disabled globally with the "g:nord_underline" config. GH-106 --- README.md | 17 +++++++++++++++++ assets/scrot-config-underline.png | Bin 0 -> 21507 bytes colors/nord.vim | 29 +++++++++++++++++------------ 3 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 assets/scrot-config-underline.png diff --git a/README.md b/README.md index c56eb130..cbf499b7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Nord Vim is a 16 colorspace theme build to run in GUI- and terminal mode with su - [Activation](#activation) - [Configuration](#configuration) - [Italic Support](#italic-support) + - [Underline Support](#underline-support) - [Italic Comments](#italic-comments) - [Uniform Status Lines](#uniform-status-lines) - [Comment Contrast](#comment-contrast) @@ -141,6 +142,22 @@ let g:nord_italic = 1

Italic formatting in Markdown

+### Underline Support + +**This option should only be enabled if your terminal emulator supports underlines!** + +Can be enabled to support underlined text. + +Most terminals are not capable to handle underlines right so Nord disables these for terminals by default while it should work out-of-the-box™ in GUI mode. + +Set `g:nord_underline` to `1` to enforce displaying underlines. + +```vim +let g:nord_underline = 1 +``` + +

Underlined Text

+ ### Italic Comments **This option only takes effect if the option for [italic text support](#italic-support) has been enabled!** diff --git a/assets/scrot-config-underline.png b/assets/scrot-config-underline.png new file mode 100644 index 0000000000000000000000000000000000000000..964b357ad88e8600a6bd85fef27019d7394d68f8 GIT binary patch literal 21507 zcma&OWmFtN*DgvzLJ|lB4-z0i@Zj#j-5Fehy9EZ9Bv^vG53VyX1b4UKK?Zk%4X%T8 zhrI81*E#E)yVmU=J$t%rSJkfFyPl`Jf2u0WV4{ za`5US1@Z^YR6#}(g$0ER< zEqb`=Z-EYOUPQj{SZdOd`k5;U=2b{4H63IQQ?Tz-wx?U~zQ`Xj-(1l3*o3-Hfm{z- zG?ZywOs$0E?EARg7uKkHl#HAOqqINE^lCv|O z9v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|Hpey=)Q{#vZN%{x``S~@R~+nbsq`_*9f z!RZew;I4XXDiUSZCgG1TH)-tUux&u1vfJ`N2Wp`7qLwx5^J^f&qFr>;c9A;Rm<`bb!YA4dK3|kPpk&L#xsX!$0&wtbRB2Yu)slM7 zXQX4VbL!`Ez>Gvb+zoRT;PeLOtO^{9MniTUltu~v=q9Pr7jtsz?KQSzvaTLU5RdG_z7a0Ir6WpU;;Y49ubq?z{R0Wom>@e3nS<)e4nGsO zpF%6O>=I>>$Rh|Sq!`lpc45|Z=_qYyL?*6k?y+=oDl%!9!m4ry3jh|#xb#)`2{*A= zWAlo{h7$W8Q#iM=E7__Z0G91-4>Io$%0yik)_p4N<-#s;YxC#Ey9!W3xmcF0WG!#c z$b#E>tP+7Y;G8M6DD>ZA2VOkzrWSPPyt*%*rzPAZ^2Ed06PrN6(g z=cvW@TC>{w^6z-H9nfoFSjXS z4KSMk_jFV9rMKiDFQ^1xMV5Jc?Rh!99;s(OsF+?CT zkWFsem)t?ejf%|K!t_OQU#E8kXvIun#*_TrwhhDWZJ)i|>7nDwe5^umY{`WaKW7(uJEea2VyZ)gW>Y3<%fjUI~50q;@l>h($ literal 0 HcmV?d00001 diff --git a/colors/nord.vim b/colors/nord.vim index df8997b9..22c11981 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -84,6 +84,11 @@ if g:nord_italic == 0 let s:italic = "" endif +let s:underline = "underline," +if ! get(g:, "nord_underline", 1) + let s:underline = "NONE," +endif + let s:italicize_comments = "" if exists("g:nord_italic_comments") if g:nord_italic_comments == 1 @@ -121,7 +126,7 @@ function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) exec "hi " . a:group . " ctermbg=" . a:ctermbg endif if a:attr != "" - exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . substitute(a:attr, "undercurl", s:underline, "") endif if a:guisp != "" exec "hi " . a:group . " guisp=" . a:guisp @@ -134,7 +139,7 @@ endfunction "+--- Attributes ---+ call s:hi("Bold", "", "", "", "", "bold", "") call s:hi("Italic", "", "", "", "", s:italic, "") -call s:hi("Underline", "", "", "", "", "underline", "") +call s:hi("Underline", "", "", "", "", s:underline, "") "+--- Editor ---+ call s:hi("ColorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") @@ -151,10 +156,10 @@ call s:hi("PmenuSbar", s:nord4_gui, s:nord2_gui, "NONE", s:nord1_term, "", "") call s:hi("PMenuSel", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") call s:hi("PmenuThumb", s:nord8_gui, s:nord3_gui, "NONE", s:nord3_term, "", "") call s:hi("SpecialKey", s:nord3_gui, "", s:nord3_term, "", "", "") -call s:hi("SpellBad", "", s:nord0_gui, "", "NONE", "undercurl", s:nord11_gui) -call s:hi("SpellCap", "", s:nord0_gui, "", "NONE", "undercurl", s:nord13_gui) -call s:hi("SpellLocal", "", s:nord0_gui, "", "NONE", "undercurl", s:nord5_gui) -call s:hi("SpellRare", "", s:nord0_gui, "", "NONE", "undercurl", s:nord6_gui) +call s:hi("SpellBad", s:nord11_gui, s:nord0_gui, s:nord11_term, "NONE", "undercurl", s:nord11_gui) +call s:hi("SpellCap", s:nord13_gui, s:nord0_gui, s:nord13_term, "NONE", "undercurl", s:nord13_gui) +call s:hi("SpellLocal", s:nord5_gui, s:nord0_gui, s:nord5_term, "NONE", "undercurl", s:nord5_gui) +call s:hi("SpellRare", s:nord6_gui, s:nord0_gui, s:nord6_term, "NONE", "undercurl", s:nord6_gui) call s:hi("Visual", "", s:nord2_gui, "", s:nord1_term, "", "") call s:hi("VisualNOS", "", s:nord2_gui, "", s:nord1_term, "", "") "+- Neovim Support -+ @@ -218,7 +223,7 @@ call s:hi("WarningMsg", s:nord0_gui, s:nord13_gui, s:nord1_term, s:nord13_term, call s:hi("WildMenu", s:nord8_gui, s:nord1_gui, s:nord8_term, s:nord1_term, "", "") "+--- Search ---+ -call s:hi("IncSearch", s:nord1_gui, s:nord8_gui, s:nord1_term, s:nord8_term, "underline", "") +call s:hi("IncSearch", s:nord1_gui, s:nord8_gui, s:nord1_term, s:nord8_term, s:underline, "") call s:hi("Search", s:nord1_gui, s:nord8_gui, s:nord1_term, s:nord8_term, "NONE", "") "+--- Tabs ---+ @@ -295,7 +300,7 @@ hi! link csXmlTag SpecialComment call s:hi("cssAttributeSelector", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("cssDefinition", s:nord7_gui, "", s:nord7_term, "", "NONE", "") -call s:hi("cssIdentifier", s:nord7_gui, "", s:nord7_term, "", "underline", "") +call s:hi("cssIdentifier", s:nord7_gui, "", s:nord7_term, "", s:underline, "") call s:hi("cssStringQ", s:nord7_gui, "", s:nord7_term, "", "", "") hi! link cssAttr Keyword hi! link cssBraces Delimiter @@ -340,7 +345,7 @@ call s:hi("goBuiltins", s:nord7_gui, "", s:nord7_term, "", "", "") hi! link goConstants Keyword call s:hi("helpBar", s:nord3_gui, "", s:nord3_term, "", "", "") -call s:hi("helpHyperTextJump", s:nord8_gui, "", s:nord8_term, "", "underline", "") +call s:hi("helpHyperTextJump", s:nord8_gui, "", s:nord8_term, "", s:underline, "") call s:hi("htmlArg", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("htmlLink", s:nord4_gui, "", "", "", "NONE", "NONE") @@ -430,7 +435,7 @@ hi! link rubyPseudoVariable Keyword hi! link rubyRegexp SpecialChar call s:hi("sassClass", s:nord7_gui, "", s:nord7_term, "", "", "") -call s:hi("sassId", s:nord7_gui, "", s:nord7_term, "", "underline", "") +call s:hi("sassId", s:nord7_gui, "", s:nord7_term, "", s:underline, "") hi! link sassAmpersand Keyword hi! link sassClassChar Delimiter hi! link sassControl Keyword @@ -506,7 +511,7 @@ call s:hi("gitcommitSelectedFile", s:nord14_gui, "", s:nord14_term, "", "", "") " davidhalter/jedi-vim call s:hi("jediFunction", s:nord4_gui, s:nord3_gui, "", s:nord3_term, "", "") -call s:hi("jediFat", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "bold,underline", "") +call s:hi("jediFat", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, s:underline."bold", "") " NERDTree " > scrooloose/nerdtree @@ -577,7 +582,7 @@ else endfor endif -call s:hi("VimwikiLink", s:nord8_gui, "", s:nord8_term, "", "underline", "") +call s:hi("VimwikiLink", s:nord8_gui, "", s:nord8_term, "", s:underline, "") hi! link VimwikiHeaderChar markdownHeadingDelimiter hi! link VimwikiHR Keyword hi! link VimwikiList markdownListMarker