Skip to content

Instantly share code, notes, and snippets.

@david-thorman
Created March 4, 2017 03:44
Show Gist options
  • Select an option

  • Save david-thorman/547c3912f27f1de5852e14049206ef6a to your computer and use it in GitHub Desktop.

Select an option

Save david-thorman/547c3912f27f1de5852e14049206ef6a to your computer and use it in GitHub Desktop.
dthorman's syntastic vim thing
" Syntastic stuff
set statusline=%<%f\ %y%#warningmsg#%{SyntasticStatuslineFlag()}%*%h%m%r%=%-14.(%l,%c%V%)\ %P
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_autoloc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" Don't check unless requested
let g:syntastic_mode_map = {'mode': 'passive'}
map <F11> :SyntasticCheck^M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment