2 Neovim RPC sessions
A Remote procedure call (RPC in short) is the process of calling a procedure in a remote process as if it were a local procedure. What this essentially means is that a programmer may offload some work onto a remote process and get the result back without having to deal with the messy details of remote communication. In the particular case of the Racket Neovim client we achieve this by attaching to a Neovim process, which gives us back an object which we can then send messages to.
The "nvim" module provides all the components of the Neovim client; it implicitly provieds the API and remote plugin submodules, which are described in their own sections.
procedure
(nvim-attach in out) → nvim%
in : input-port? out : output-port?
parameter
(current-nvim-instance) → (or/c void? (is-a?/c nvim%))
(current-nvim-instance nvim) → void? nvim : (or/c void? (is-a?/c nvim%))
= (void)