fresh: NonText as SpecialKey
Don't use `set highlight` to highlight `NonText` like `SpecialKey`, instead simply set the color of `NonText` in the colorscheme.
This commit is contained in:
		
							parent
							
								
									82303f075e
								
							
						
					
					
						commit
						3b3121aa28
					
				| @ -112,7 +112,7 @@ if has('gui_running') || &t_Co == 256 | |||||||
|   call s:hi('MatchParen', '', '', '') |   call s:hi('MatchParen', '', '', '') | ||||||
|   call s:hi('ModeMsg', '', '', '') |   call s:hi('ModeMsg', '', '', '') | ||||||
|   call s:hi('MoreMsg', '12', '', '') |   call s:hi('MoreMsg', '12', '', '') | ||||||
|   call s:hi('NonText', '', '', '') |   call s:hi('NonText', '238', '', '') | ||||||
|   call s:hi('Normal', '7', '232', '') |   call s:hi('Normal', '7', '232', '') | ||||||
|   call s:hi('Pmenu', '', '235', '') |   call s:hi('Pmenu', '', '235', '') | ||||||
|   call s:hi('PmenuSel', '', '', 'reverse') |   call s:hi('PmenuSel', '', '', 'reverse') | ||||||
|  | |||||||
| @ -68,8 +68,6 @@ if has('linebreak') | |||||||
|   set linebreak |   set linebreak | ||||||
|   " Downwards Arrow With Tip Rightwards (U+21B3, utf-8: E2 86 B3) |   " Downwards Arrow With Tip Rightwards (U+21B3, utf-8: E2 86 B3) | ||||||
|   let &showbreak='↳ ' |   let &showbreak='↳ ' | ||||||
|   " Use same highlight group as listchars for showbreak |  | ||||||
|   set highlight+=@:SpecialKey |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| " TODO: spellcapcheck | " TODO: spellcapcheck | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user