vint: Use get(l:, 'py_res', '')

This commit is contained in:
Yasuhiro Matsumoto 2020-10-16 11:24:43 +09:00 committed by zah
commit 711af55cb5

View file

@ -119,7 +119,7 @@ fun! NimExec(op) abort
if b:nim_caas_enabled
exe printf("pyx nimExecCmd('%s', '%s', False)", b:nim_project_root, cmd)
let output = l:py_res
let output = get(l:, 'py_res', '')
else
let output = system('nim ' . cmd)
endif