From 3b3121aa28fc89e2c8a549a810514edc24c52e07 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 25 Jan 2021 23:00:28 +0000 Subject: [PATCH] fresh: NonText as SpecialKey Don't use `set highlight` to highlight `NonText` like `SpecialKey`, instead simply set the color of `NonText` in the colorscheme. --- colors/fresh.vim | 2 +- plugin/settings.vim | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/colors/fresh.vim b/colors/fresh.vim index fd4f372..8b5f9b7 100644 --- a/colors/fresh.vim +++ b/colors/fresh.vim @@ -112,7 +112,7 @@ if has('gui_running') || &t_Co == 256 call s:hi('MatchParen', '', '', '') call s:hi('ModeMsg', '', '', '') call s:hi('MoreMsg', '12', '', '') - call s:hi('NonText', '', '', '') + call s:hi('NonText', '238', '', '') call s:hi('Normal', '7', '232', '') call s:hi('Pmenu', '', '235', '') call s:hi('PmenuSel', '', '', 'reverse') diff --git a/plugin/settings.vim b/plugin/settings.vim index a1684d2..82c2b8c 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -68,8 +68,6 @@ if has('linebreak') set linebreak " Downwards Arrow With Tip Rightwards (U+21B3, utf-8: E2 86 B3) let &showbreak='↳ ' - " Use same highlight group as listchars for showbreak - set highlight+=@:SpecialKey endif " TODO: spellcapcheck