Skip to content

Instantly share code, notes, and snippets.

@ivanelson
Created April 17, 2018 18:43
Show Gist options
  • Select an option

  • Save ivanelson/3700e9543b8a06aa491081b3e029366e to your computer and use it in GitHub Desktop.

Select an option

Save ivanelson/3700e9543b8a06aa491081b3e029366e to your computer and use it in GitHub Desktop.
Meu vim
execute pathogen#infect()
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
let g:syntastic_auto_loc_list=2
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
"let g:syntastic_mode_map={'mode': 'passive'}
let g:syntastic_sql_checkers = ['sqlint']
let g:syntastic_python_checkers = ['pylint']
" --- Syntastic : Linting / Error check ---
" close/open location list (errors)
noremap <silent><leader>lc :lcl<CR>
noremap <silent><leader>lo :Errors<CR> :lw<CR>
noremap <silent><leader>ln :lnext<CR>
noremap <silent><leader>lp :lprev<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment