From: Stefan Huber Date: Fri, 25 Oct 2019 09:04:34 +0000 (+0200) Subject: hightlight: Fix trailing whitespace X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=commitdiff_plain;h=d874d9c1be1862c6af8bef5e62e186ba364ef1ef;ds=sidebyside hightlight: Fix trailing whitespace --- diff --git a/init.vim b/init.vim index d4a51e0..bd44c54 100644 --- a/init.vim +++ b/init.vim @@ -40,17 +40,17 @@ end syntax on -" Trailing whitespace -highlight default link TrailingWhitespace SpellCap -" Make trailing whitespace be flagged as bad. -au BufRead,BufNewFile * syn match TrailingWhitespace /\s\+$/ containedin=ALL - - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Some global plugin settings runtime plugsetup.vim +" Attention: Must be run after plugsetup.vim +" Trailing whitespace +highlight default link TrailingWhitespace SpellCap +" Make trailing whitespace be flagged as bad. +au BufRead,BufNewFile * syn match TrailingWhitespace /\s\+$/ containedin=ALL + let g:airline_powerline_fonts=1 let g:airline#extensions#tabline#enabled=1 let g:airline#extensions#branch#enabled=1