NeoVimの利点の1つは、より柔軟なプラグインアーキテクチャだと聞きました。 JSにプラグインを書き込むためのAPIはありますか?JavaScriptを使用してNeoVimプラグインを作成するにはどうすればよいですか?
は、これに関連しているように見えるいくつかのプロジェクトがあります。 neovim/node-host、 neovim/node-client、fritzy/node-neovim、rhysd/promised-neovim-client が、私はそれらを使用するかどうかはわかりません。 Vim functionsまたはコマンド、または同等の機能にアクセスするにはどうすればよいですか(これはどこに文書化されていますか)。
promised-neovim-clientは、そのstdinとstdoutに接続することでNeoVimプロセスとやりとりします。 NeoVimの中から、私はpromised-neovim-clientスクリプトを起動して、実行中のNeoVimプロセスのpidを渡すことができ、スクリプトはstdinとstdoutに付けることができましたか?
'node-host'のNeoVim APIはこれと同じですか:https://github.com/neovim/node-client/blob/master/index.d.ts? –
':UpdateRemotePlugin'を実行すると、私は' function remote#host#UpdateRemotePlugins [6] ..を取得します。 47_RegistrationCommands [15] ..リモート#h ost#Require [13] ..プロバイダ#pythonx#14行が必要です。 Vim(let):E902:実行可能ファイルではありません。 関数remote#host#UpdateRemotePlugins [6] .. 47_RegistrationCommands [15] .. remote#h ost#Require [13] ] ..プロバイダ#pythonx#21行目を要求します。 Vim(for):E121:未定義の変数:channel_id' –
これは、 'sudo pip3 install neovim'で修正されました。 –