diff options
author | Matt Singleton <matt@xcolour.net> | 2021-12-21 13:33:50 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-12-21 13:33:50 -0600 |
commit | 0115f8f0678150f9f8ec78f46a918fa839606f97 (patch) | |
tree | c48030a3a339c2570a8cbd2edc5818c773fae227 /home/vimrc | |
parent | 0a5459308b61569c9f59209839a7b529cfe699c0 (diff) |
cleaner highlighting of "bad" characters
Diffstat (limited to 'home/vimrc')
-rw-r--r-- | home/vimrc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -148,13 +148,17 @@ syntax enable highlight clear SignColumn hi! link SignColumn Background -" Highlight non-ascii characters -" Run this late to override theme +" Highlight non-ascii characters as the theme highlights errors +hi clear nonascii +hi link nonascii Error if has("autocmd") - highlight nonascii guibg=Red ctermbg=1 term=standout au BufReadPost * syntax match nonascii /[^\d0-\d127]/ endif +" highlight trailing space and tab as the theme highlights errors +hi clear SpecialKey +hi link SpecialKey Error + let g:airline_powerline_fonts = 1 let g:airline_left_sep="\uE0B4" let g:airline_right_sep = "\uE0B6" |