vint: Use get(l:, 'py_res', '')
This commit is contained in:
parent
dc109e5a20
commit
711af55cb5
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ fun! NimExec(op) abort
|
||||||
|
|
||||||
if b:nim_caas_enabled
|
if b:nim_caas_enabled
|
||||||
exe printf("pyx nimExecCmd('%s', '%s', False)", b:nim_project_root, cmd)
|
exe printf("pyx nimExecCmd('%s', '%s', False)", b:nim_project_root, cmd)
|
||||||
let output = l:py_res
|
let output = get(l:, 'py_res', '')
|
||||||
else
|
else
|
||||||
let output = system('nim ' . cmd)
|
let output = system('nim ' . cmd)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue