Skip to content

Commit

Permalink
Use literaly dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vimpostor committed Aug 15, 2023
1 parent 9e1498d commit e818437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/lumen.vim
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ func lumen#fork_job()
if s:is_nvim
let s:lines = ['']
let s:elines = ['']
let options = {"on_stdout": function('lumen#on_stdout'), "on_stderr": function('lumen#on_stderr'), "on_exit" : function('lumen#on_exit')}
let options = #{on_stdout: function('lumen#on_stdout'), on_stderr: function('lumen#on_stderr'), on_exit: function('lumen#on_exit')}
silent! let s:job = jobstart(command, options)
else
let options = {"out_cb": function('lumen#out_cb'), "err_cb": function('lumen#err_cb'), "exit_cb": function('lumen#exit_cb')}
let options = #{out_cb: function('lumen#out_cb'), err_cb: function('lumen#err_cb'), exit_cb: function('lumen#exit_cb')}
let s:job = job_start(command, options)
endif
endfunc
Expand Down

0 comments on commit e818437

Please sign in to comment.