Skip to content

Instantly share code, notes, and snippets.

@qickstarter
Created November 12, 2013 20:51
Show Gist options
  • Save qickstarter/7438449 to your computer and use it in GitHub Desktop.
Save qickstarter/7438449 to your computer and use it in GitHub Desktop.
let hooks = neobundle#get_hooks('syntastic')
function! hooks.on_source(bundle) "{{{
let g:syntastic_auto_jump = 0
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_echo_current_error = 0
let g:syntastic_quiet_warnings = 0
let g:syntastic_enable_highlighting = 0
let g:syntastic_enable_signs = 0
let g:syntastic_loc_list_height = 3
let g:syntastic_ruby_checkers = ['rubocop', 'mri']
let g:syntastic_mode_map = {
\ 'mode' : 'active',
\ 'active_filetypes' : ['ruby'],
\ 'passive_filetypes' : [],
\ }
endfunction"}}}
NeoBundleLazy 'scrooloose/syntastic', {
\ 'autoload': {
\ 'filetypes' : 'ruby',
\ 'commands' : [
\ 'SyntasticCheck', 'SyntasticInfo',
\ 'SyntasticReset', 'SyntasticToggleMode'
\ ]
\ }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment