Fix null namespace issue
This commit is contained in:
parent
81ca22bfe2
commit
385d8288db
@ -179,7 +179,7 @@ function! s:repl.preload(lib) dict abort
|
|||||||
let self.requires[a:lib] = 0
|
let self.requires[a:lib] = 0
|
||||||
let clone = s:conn_try(self.connection, 'clone')
|
let clone = s:conn_try(self.connection, 'clone')
|
||||||
try
|
try
|
||||||
let result = clone.eval('(in-ns '.s:qsym(a:lib).') (ns '.self.user_ns().' (:require '.a:lib.reload.'))', {'ns': self.user_ns()})
|
let result = clone.eval('(ns '.self.user_ns().' (:require '.a:lib.reload.'))', {'ns': self.user_ns()})
|
||||||
finally
|
finally
|
||||||
call clone.close()
|
call clone.close()
|
||||||
endtry
|
endtry
|
||||||
|
Loading…
Reference in New Issue
Block a user