From 711af55cb50be2c9163d7a9f80055afa86afeb1a Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 16 Oct 2020 11:24:43 +0900 Subject: [PATCH] vint: Use get(l:, 'py_res', '') --- autoload/nim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/nim.vim b/autoload/nim.vim index 5098d72..3b2e2ce 100644 --- a/autoload/nim.vim +++ b/autoload/nim.vim @@ -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