Skip to content

Instantly share code, notes, and snippets.

@ipod825
Last active August 17, 2016 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipod825/fbee70d8bd063f228951cd4b6f38f4df to your computer and use it in GitHub Desktop.
Save ipod825/fbee70d8bd063f228951cd4b6f38f4df to your computer and use it in GitHub Desktop.
" Assume vim-plug is used
call plug#begin('~/.vim/bundle')
Plug 'benekastah/neomake'
Plug 'hynek/vim-python-pep8-indent'
call plug#end()
augroup NEOMAKE_CHECK
autocmd!
autocmd BufWritePost * Neomake
augroup End
let g:neomake_warning_sign = {
\ 'text': 'W>',
\ 'texthl': 'WarningMsg',
\ }
let g:neomake_error_sign = {
\ 'text': 'E>',
\ 'texthl': 'ErrorMsg',
\ }
let g:neomake_python_enabled_makers = ['flake8']
let g:neomake_python_flake8_maker = {
\ 'args': ['--ignore','E225, E231, E226, E402, E501, E731'],
\ 'errorformat': '%f:%l:%c: %m',
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment