hightlight: Fix trailing whitespace
[vimconf.git] / init.vim
index d4a51e098d649737b046a296ab7d6dc9239b0d2f..bd44c548a27c725ae3d72609cb51868e96fcfc60 100644 (file)
--- 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