aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/vimrc10
1 files changed, 7 insertions, 3 deletions
diff --git a/home/vimrc b/home/vimrc
index 0b01776..c6a440e 100644
--- a/home/vimrc
+++ b/home/vimrc
@@ -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"