Fix erroneous use of session when none requested

This commit is contained in:
Tim Pope 2014-01-12 00:33:01 -05:00
parent c2a90eb47f
commit 62486afca7
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ function! s:nrepl_eval(expr, ...) dict abort
if has_key(options, 'session')
let msg.session = options.session
endif
let msg = self.prepare(msg)
let msg.id = fireplace#nrepl#next_id()
if has_key(options, 'file_path')
let msg.op = 'load-file'
let msg['file-path'] = options.file_path