parent
236964d8a0
commit
efa638f066
|
@ -20,10 +20,8 @@ set foldenable foldlevelstart=20 foldmethod=indent
|
|||
"
|
||||
" linter
|
||||
autocmd FileType python setlocal makeprg=pylint\ --output-format=parseable
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 makeprg=yamllint\ --f\
|
||||
parsable\ %
|
||||
autocmd FileType json autocmd BufWritePre <buffer> %!python -m json.tool
|
||||
2>/dev/null
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 makeprg=yamllint\ --f\ parsable\ %
|
||||
autocmd FileType json autocmd BufWritePre <buffer> %!python -m json.tool 2>/dev/null
|
||||
autocmd BufWritePost *.py silent make! <afile> | silent redraw!
|
||||
autocmd QuickFixCmdPost [^l]* cwindow
|
||||
|
||||
|
|
Loading…
Reference in New Issue