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

DenopsReady does not start #305

Closed yasunori0418 closed 10 months ago

yasunori0418 commented 10 months ago

Environment

OS: Arch Linux Neovim: HEAD

❯ nvim --version
NVIM v0.10.0-dev-2021+gee2127363
Build type: Release
LuaJIT 2.1.1703358377
Run "nvim -V1 -v" for more info

denops.vim version: 8b39cf7

❯ deno --version
deno 1.39.1 (release, x86_64-unknown-linux-gnu)
v8 12.0.267.8
typescript 5.3.3

minimal configuraion

https://github.com/yasunori0418/denops_ready_test

let s:base_dir = '<sfile>'->expand()->fnamemodify(':p:h')
let s:denops = $'{s:base_dir}/plug/denops.vim'

exe 'set rtp^=' .. s:denops

autocmd User DenopsReady echomsg 'fired DenopsReady'
autocmd VimEnter * echomsg 'fired VimEnter'

Occurring Issues

DenopsReady event does not start.

Shougo commented 10 months ago

I have checked the code.

      await host.call("execute", "doautocmd <nomodeline> User DenopsReady");

is executed. But User DenopsReady is not fired.

doautocmd User DenopsReady works.

Note: It is just executed silently.

Shougo commented 10 months ago

Please test #306.

yasunori0418 commented 10 months ago

I confirmed that DenopsReady works on the target branch. Thank you for your response.