vim-denops / denops.vim

🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno
https://vim-denops.github.io/denops-documentation/
MIT License
685 stars 36 forks source link

Bug: job#start mismatch args between vim/nvim #23

Closed tsuyoshicho closed 3 years ago

tsuyoshicho commented 3 years ago

https://github.com/vim-denops/denops.vim/blob/6f693ffecde321d3ede1a87e1b666dc6c44275f1/autoload/denops/lib/job.vim#L19 https://github.com/vim-denops/denops.vim/blob/6f693ffecde321d3ede1a87e1b666dc6c44275f1/autoload/denops/lib/job.vim#L51

Detect args mismatch.

see error (report other person)

[denops] Vim(return):E119: 関数の引数が足りません: s:start
[denops] VimEnter Autocommands for "*"..function denops#server#start[1]..denops#server#channel#start[7]..denops#lib#promise#new[1]..<SNR>106_new[5]..<SNR>151_start[4]..denops#lib#job#start, 行 10
tsuyoshicho commented 3 years ago

And related miss.

https://github.com/vim-denops/denops.vim/blob/6f693ffecde321d3ede1a87e1b666dc6c44275f1/autoload/denops/lib/job.vim#L67-L73

Context not defined in functions.