Fix 4490 - Fix pyright not running with poetry (#4491)

* Fix 4490 - Fix pyright not running with poetry

* Fix tests
This commit is contained in:
Horacio Sanson authored and GitHub committed 2023-04-13 08:54:49 +09:00
1 parent 93100159a2
commit fdadaed2ba
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ endfunction
function! ale_linters#python#pyright#GetCommand(buffer) abort
let l:executable = ale_linters#python#pyright#GetExecutable(a:buffer)
let l:exec_args = l:executable =~? 'pipenv\|poetry$'
\ ? ' run pyright'
\ ? ' run pyright-langserver'
\ : ''
let l:env_string = ''