Don't require successful ns load to send nREPL message
This commit is contained in:
parent
385d8288db
commit
766c8d6bc9
@ -165,10 +165,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:repl.message(payload, ...) dict abort
|
function! s:repl.message(payload, ...) dict abort
|
||||||
if has_key(a:payload, 'ns') && a:payload.ns !=# self.user_ns()
|
if has_key(a:payload, 'ns') && a:payload.ns !=# self.user_ns()
|
||||||
let error = self.preload(a:payload.ns)
|
let ignored_error = self.preload(a:payload.ns)
|
||||||
if !empty(error)
|
|
||||||
return error
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
return call('s:conn_try', [self.connection, 'message', a:payload] + a:000, self)
|
return call('s:conn_try', [self.connection, 'message', a:payload] + a:000, self)
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user