Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vimrc: Fix trailing whitespace highlighting to work with Mako.

  • Loading branch information...
commit 852fca309defac3d0ef9ccfce4c286d34e865042 1 parent 4ea3e4a
@eevee authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 .vimrc
View
8 .vimrc
@@ -70,10 +70,6 @@ endif
set t_Co=256
colorscheme molokai
-" trailing whitespace; must define AFTER colorscheme!
-hi WhitespaceEOL ctermbg=red guibg=red
-match WhitespaceEOL /\s\+\%#\@<!$/
-
if has("autocmd")
" Filetypes and indenting settings
@@ -96,3 +92,7 @@ let b:tt2_syn_tags = '\[% %]'
" Mako
au BufNewFile,BufRead *.mako setf mako
+
+" trailing whitespace; must define AFTER colorscheme, setf, etc!
+hi WhitespaceEOL ctermbg=red guibg=red
+match WhitespaceEOL /\s\+\%#\@<!$/
Please sign in to comment.
Something went wrong with that request. Please try again.