mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
Ensure a session is running before attempting to do Python detection.
This commit is contained in:
@@ -4,6 +4,7 @@ local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert
|
||||
local expect, write_file = helpers.expect, helpers.write_file
|
||||
|
||||
do
|
||||
clear()
|
||||
command('let [g:interp, g:errors] = provider#pythonx#Detect(2)')
|
||||
local errors = eval('g:errors')
|
||||
if errors ~= '' then
|
||||
|
Reference in New Issue
Block a user