Fix logic for preserving ns

This commit is contained in:
Tim Pope 2014-01-16 01:22:21 -05:00
parent e6c1f9eac1
commit 25f17ac25d

View File

@ -140,7 +140,7 @@ function! s:nrepl_eval(expr, ...) dict abort
endif endif
throw 'Clojure: Interrupt' throw 'Clojure: Interrupt'
endtry endtry
if has_key(response, 'ns') && !a:0 if has_key(response, 'ns') && !has_key(options, 'ns')
let self.ns = response.ns let self.ns = response.ns
endif endif