Ollie Rutherfurd committed 0ca46c4

added syntastic

  • Participants
  • Parent commits a76643a

Comments (0)

Files changed (3)

 bundle/indent-object = [git]git://
 bundle/ctrlp = [git]git://
 bundle/MatchTag = [git]git://
+bundle/syntastic = [git]git://
 c6197a10ace82e0fe0c08e5cf5c017b7069a978e bundle/sparkup
 a08c2d723c68c1da6b4533348161dbf7c13b77c4 bundle/speeddating
 4eb2cdfccc016889acfa3b5d63e8f390a87863cf bundle/surround
+78fbd7fa13f5565cbdf584fd42ea2cfc33befb35 bundle/syntastic
 369ed2855a55d6a9553b679825e19f1a3e487583 bundle/threesome
 d66948917ce7153e4a961aa5d57e1b0918e20495 bundle/tlib_vim
 392315d7c5a1ee9e08a089908a3da9627fe2c6d4 bundle/vim-addon-mw-utils
 set backspace=indent,eol,start  " backspace over everything
 set ruler                       " always show ruler
 set ls=2                        " always show status
-set statusline=%<%f%(\ %h%m%r%w%)\ %y%=%l,%c%V\ of\ %L\ [%06.6b:0x%05.5B]\ %P
+set statusline=%<%f%(\ %h%m%r%w%)\ %y
+set statusline+=%#redbar#                " Highlight the following as a warning.
+set statusline+=\ %{SyntasticStatuslineFlag()} " Syntastic errors.
+set statusline+=%*                           " Reset highlighting."
+set statusline+=\ %=%l,%c%V\ of\ %L\ [%06.6b:0x%05.5B]\ %P
 set showmatch                   " show matching paren, bracket, etc...
 set showcmd                     " show commands as entered
 set grepprg=ack\ --column
 set grepformat=%f:%l:%c:%m
+let g:syntastic_enable_signs=1
+let g:syntastic_auto_loc_list=1
+let g:syntastic_stl_format = '[%E{E 1/%e: #%fe}%B{, }%W{W 1/%w: #%fw}]'
 " don't want to hear about not having ruby
 let g:LustyExplorerSuppressRubyWarning = 1