vim-denops / denops.vim

🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno

Home Page:https://vim-denops.github.io/denops-documentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Milly opened this issue · comments

commented

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:

denops.vim/doc/denops.txt

Lines 294 to 297 in 09e6495

*denops#plugin#is_loaded()*
denops#plugin#is_loaded({name})
Returns 1 if a {name} plugin is already loaded. Otherwise, returns
0.

Expected

Detail the documentation.

Your environment

  • Denops version: v6.0.11
commented

Fixed in #389, f1ce5d0