From f1ac7c9f737b43c7de0715923b10c2be76cbc9ed Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 15 Jan 2017 13:05:07 +0000 Subject: Rename pylint _args variables to _options variables --- ale_linters/python/pylint.vim | 6 +++--- doc/ale.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim index 95e5f0ef..f0cd5bd6 100644 --- a/ale_linters/python/pylint.vim +++ b/ale_linters/python/pylint.vim @@ -4,8 +4,8 @@ let g:ale_python_pylint_executable = \ get(g:, 'ale_python_pylint_executable', 'pylint') -let g:ale_python_pylint_args = -\ get(g:, 'ale_python_pylint_args', '') +let g:ale_python_pylint_options = +\ get(g:, 'ale_python_pylint_options', '') function! ale_linters#python#pylint#GetExecutable(buffer) abort return g:ale_python_pylint_executable @@ -14,7 +14,7 @@ endfunction function! ale_linters#python#pylint#GetCommand(buffer) abort return g:ale#util#stdin_wrapper . ' .py ' \ . ale_linters#python#pylint#GetExecutable(a:buffer) - \ . ' ' . g:ale_python_pylint_args + \ . ' ' . g:ale_python_pylint_options \ . ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} {msg}" --reports n' endfunction diff --git a/doc/ale.txt b/doc/ale.txt index 43e0006e..12d6f8fa 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -803,7 +803,7 @@ g:ale_python_pylint_executable *g:ale_python_pylint_executable* This variable can be changed to modify the executable used for pylint. -g:ale_python_pylint_args *g:ale_python_pylint_args* +g:ale_python_pylint_options *g:ale_python_pylint_options* Type: |String| Default: `''` @@ -815,7 +815,7 @@ For example, to dynamically switch between programs targeting Python 2 and Python 3, you may want to set > let g:ale_python_pylint_executable = 'python3' " or 'python' for Python 2 - let g:ale_python_pylint_args = '-rcfile /path/to/pylint.rc' + let g:ale_python_pylint_options = '-rcfile /path/to/pylint.rc' after making sure it's installed for the appropriate Python versions (e.g. `python3 -m pip install --user pylint`). -- cgit v1.2.3