Fix one-off runner

Closes #29.
This commit is contained in:
Tim Pope 2013-01-06 20:54:42 -05:00
parent 0d96405c1f
commit 3ee902f648

View File

@ -267,7 +267,7 @@ function! s:oneoff.eval(expr, options) dict abort
echohl None echohl None
endif endif
if a:options.ns !=# '' && a:options.ns !=# 'user' if a:options.ns !=# '' && a:options.ns !=# 'user'
let ns = '(require '.s:qsym(options).') (in-ns '.s:qsym(options).') ' let ns = '(require '.s:qsym(a:options.ns).') (in-ns '.s:qsym(a:options.ns).') '
else else
let ns = '' let ns = ''
endif endif