X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/339a0a426596d99e18eb355028e19501bb1dc942..e39edb5a32f6468b134df24f45cc1a01d1662238:/autoload/flake8.vim diff --git a/autoload/flake8.vim b/autoload/flake8.vim index de9633e..b7200e6 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -46,11 +46,6 @@ function! s:Setup() " {{{ " flake8 command call s:DeclareOption('flake8_cmd', '', '"flake8"') - " flake8 stuff - call s:DeclareOption('flake8_builtins', ' --builtins=', '') - call s:DeclareOption('flake8_ignore', ' --ignore=', '') - call s:DeclareOption('flake8_max_line_length', ' --max-line-length=', '') - call s:DeclareOption('flake8_max_complexity', ' --max-complexity=', '') " quickfix call s:DeclareOption('flake8_quickfix_location', '', '"belowright"') call s:DeclareOption('flake8_show_quickfix', '', 1) @@ -116,7 +111,7 @@ function! s:Flake8() " {{{ " perform the grep itself let &grepformat="%f:%l:%c: %m\,%f:%l: %m" - let &grepprg=s:flake8_cmd.s:flake8_builtins.s:flake8_ignore.s:flake8_max_line_length.s:flake8_max_complexity + let &grepprg=s:flake8_cmd silent! grep! "%" " restore grep settings