Skip to content

Commit ccff6ac

Browse files
committed
Update comments mentioned order of python detection
1 parent a6825bd commit ccff6ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/pyrepl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Options:
287287
python_path (string)
288288
Python interpreter used by pyrepl.nvim. Default: "python".
289289
Resolution order is: `python_path`, then `g:python3_host_prog`, then
290-
`python` from PATH.
290+
`python3` from PATH.
291291
preferred_kernel (string)
292292
Kernel name moved to the first position in the kernel picker.
293293
Default: "python3".

lua/pyrepl/python.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local console_completions_running
1414
---Resolve Python path from the following candidates:
1515
---1) config.python_path;
1616
---2) vim.g.python3_host_prog;
17-
---3) "python".
17+
---3) "python3".
1818
---@return string
1919
function M.get_python_path()
2020
if python_path_cache then

0 commit comments

Comments
 (0)