summaryrefslogtreecommitdiff
path: root/ale_linters/python
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2023-04-13 08:54:49 +0900
committerGitHub <noreply@github.com>2023-04-13 08:54:49 +0900
commitfdadaed2ba93432add241bb25f9935dc2ebb4152 (patch)
tree97a43145cdc218c720258c183180117d0b51bfdb /ale_linters/python
parent93100159a2ee71fea8853dcd45ec48c8222516fe (diff)
downloadale-fdadaed2ba93432add241bb25f9935dc2ebb4152.zip
Fix 4490 - Fix pyright not running with poetry (#4491)
* Fix 4490 - Fix pyright not running with poetry * Fix tests
Diffstat (limited to 'ale_linters/python')
-rw-r--r--ale_linters/python/pyright.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/pyright.vim b/ale_linters/python/pyright.vim
index ccade0c9..e41f7f14 100644
--- a/ale_linters/python/pyright.vim
+++ b/ale_linters/python/pyright.vim
@@ -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 = ''