From ed7f4dee532718bd299c42738a3631824b37b5d0 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Wed, 17 Mar 2021 16:55:50 -0700 Subject: issue 3033 (#3620) * Add ale_python_pyls_options * Add extra explanatory detail * Fix alignment * Fix test --- ale_linters/python/pyls.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ale_linters/python') diff --git a/ale_linters/python/pyls.vim b/ale_linters/python/pyls.vim index c7f91430..10304b2c 100644 --- a/ale_linters/python/pyls.vim +++ b/ale_linters/python/pyls.vim @@ -2,6 +2,7 @@ " Description: A language server for Python call ale#Set('python_pyls_executable', 'pyls') +call ale#Set('python_pyls_options', '') call ale#Set('python_pyls_use_global', get(g:, 'ale_use_global_executables', 0)) call ale#Set('python_pyls_auto_pipenv', 0) call ale#Set('python_pyls_config', {}) @@ -22,7 +23,7 @@ function! ale_linters#python#pyls#GetCommand(buffer) abort \ ? ' run pyls' \ : '' - return ale#Escape(l:executable) . l:exec_args + return ale#Escape(l:executable) . l:exec_args . ale#Pad(ale#Var(a:buffer, 'python_pyls_options')) endfunction call ale#linter#Define('python', { -- cgit v1.2.3