Liking cljdoc? Tell your friends :D

hive-vim.vessel

The Vim vessel: a neutral descriptor (the hive-emacs.vessel shape), an IVessel reification of it, and the hive-vessel target that executes :vim-channel ops over this addon's transport.

No dependency on hive-vessel: a target is a plain map, so the contract is the shape. hive-vessel lowers an action to ["call" fn args] and calls :vessel/execute!; the payload travels over the same session-managed, reconnecting channel HVCP verbs use.

An op batch is not a transaction: dispatch! stops at the first op whose execution throws and reports how many already ran.

The Vim vessel: a neutral descriptor (the hive-emacs.vessel shape), an
IVessel reification of it, and the hive-vessel target that executes
:vim-channel ops over this addon's transport.

No dependency on hive-vessel: a target is a plain map, so the contract is
the shape. hive-vessel lowers an action to ["call" fn args] and calls
:vessel/execute!; the payload travels over the same session-managed,
reconnecting channel HVCP verbs use.

An op batch is not a transaction: dispatch! stops at the first op whose
execution throws and reports how many already ran.
raw docstring

->ivesselclj

(->ivessel descriptor)

An IVessel over DESCRIPTOR.

An IVessel over DESCRIPTOR.
sourceraw docstring

capabilitiesclj

source

create-vim-vesselclj

(create-vim-vessel port-fn)
(create-vim-vessel port-fn terminal-fn)

Descriptor for the Vim vessel. PORT-FN returns the :vim editor port or nil; TERMINAL-FN, when given, returns the VimTerminal or nil.

Descriptor for the Vim vessel. PORT-FN returns the :vim editor port or nil;
TERMINAL-FN, when given, returns the VimTerminal or nil.
sourceraw docstring

dialectclj

The hive-vessel dialect this vessel speaks.

The hive-vessel dialect this vessel speaks.
sourceraw docstring

execute!clj

(execute! server opts {:native/keys [payload] :as op})

Run a lowered hive-vessel op on SERVER. Returns the value Vim answered.

Throws ex-info on failure. hive-vessel's dispatch! reports that as {:error {:failure/reason :execute-threw}} carrying how many ops of the batch already ran: a loud dispatch failure, never a silent drop. Translator fallback is a separate mechanism and applies to TRANSLATION failures only, so a Vim that is down does not silently re-route to another lowering.

Run a lowered hive-vessel op on SERVER. Returns the value Vim answered.

Throws ex-info on failure. hive-vessel's dispatch! reports that as
{:error {:failure/reason :execute-threw}} carrying how many ops of the batch
already ran: a loud dispatch failure, never a silent drop. Translator
fallback is a separate mechanism and applies to TRANSLATION failures only,
so a Vim that is down does not silently re-route to another lowering.
sourceraw docstring

vessel-targetclj

(vessel-target server)
(vessel-target server {:keys [features] :as opts})

A hive-vessel target backed by SERVER: {:vessel/id :vim :vessel/dialect :vim-channel :vessel/execute! f}. OPTS may pin a :session or :timeout-ms, and :features advertises addon-specific capabilities to translator guards.

A hive-vessel target backed by SERVER: {:vessel/id :vim :vessel/dialect
:vim-channel :vessel/execute! f}. OPTS may pin a :session or :timeout-ms,
and :features advertises addon-specific capabilities to translator guards.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close