mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: added functions inside vim
This commit is contained in:
parent
89588d7a8c
commit
d5a551c76c
1 changed files with 12 additions and 0 deletions
|
@ -88,6 +88,18 @@ function codemp#test()
|
|||
call rpcrequest(s:jobid, "rpc")
|
||||
endfunction
|
||||
|
||||
function codemp#create(k)
|
||||
call rpcrequest(s:jobid, "create", a:k)
|
||||
endfunction
|
||||
|
||||
function codemp#sync(k)
|
||||
call rpcrequest(s:jobid, "sync", a:k)
|
||||
endfunction
|
||||
|
||||
function codemp#leave(k)
|
||||
call rpcrequest(s:jobid, "leave", a:k)
|
||||
endfunction
|
||||
|
||||
function s:OnStderr(id, data, event) dict
|
||||
let g:msg = 'codemp: stderr: ' . join(a:data, "\n")
|
||||
echo g:msg
|
||||
|
|
Loading…
Reference in a new issue