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
666 stars 33 forks source link

Its confusing `denops#plugin#is_loaded()` returns 1 if the plugin state is `failed` #382

Closed Milly closed 1 month ago

Milly commented 2 months ago

Problem

What's confusing is that denops#plugin#is_loaded() returns 1 if the plugin's state is failed. In that state, the plugin cannot be used, so it cannot be said loaded.

But document says: https://github.com/vim-denops/denops.vim/blob/09e64956c2946bba0a060d0a0aaddde106753bd9/doc/denops.txt#L294-L297

Expected

Detail the documentation.

Your environment

Milly commented 1 month ago

Fixed in #389, f1ce5d0