From aa5f7e59b269de1001d2200c3a8caa5cb59c08dc Mon Sep 17 00:00:00 2001 From: Jie Feng Date: Fri, 10 Mar 2017 21:45:31 +0800 Subject: [PATCH] max line-width to 120 through pymode parameters --- vim/settings/python-mode.vim | 3 +-- vim/settings/syntastic.vim | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/settings/python-mode.vim b/vim/settings/python-mode.vim index 3be7de4..4d035dd 100644 --- a/vim/settings/python-mode.vim +++ b/vim/settings/python-mode.vim @@ -7,8 +7,7 @@ let g:pymode_run_bind = "" " Override view python doc key shortcut to Ctrl-Shift-d let g:pymode_doc_bind = "" let g:pymode_lint_ignore = "W0611" -"}}} -let g:syntastic_python_pylint_post_args="--max-line-length=120" +let g:pymode_options_max_line_length=120 augroup filetype_python autocmd! diff --git a/vim/settings/syntastic.vim b/vim/settings/syntastic.vim index 633eebd..a21ee5c 100644 --- a/vim/settings/syntastic.vim +++ b/vim/settings/syntastic.vim @@ -12,6 +12,7 @@ let g:syntastic_quiet_messages = {'level': 'warnings'} let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_python_checkers = ['flake8'] let g:syntastic_python_flake8_args='--ignore=F401,F403,F405,W0401' +" let g:syntastic_python_pylint_post_args="--max-line-length=120" " I have no idea why this is not working, as it used to