Liking cljdoc? Tell your friends :D

hive-vim.client

Invoke HVCP verbs on a connected Vim session.

One railway per call: prepare params against the catalogue, pick the session, send through hive#rpc#dispatch, unwrap the envelope, check the result shape. Every step returns a Result; nothing throws.

Invoke HVCP verbs on a connected Vim session.

One railway per call: prepare params against the catalogue, pick the
session, send through hive#rpc#dispatch, unwrap the envelope, check the
result shape. Every step returns a Result; nothing throws.
raw docstring

execute-native!clj

(execute-native! server {:keys [session timeout-ms]} payload)

Run a hive-vessel :vim-channel PAYLOAD (["call" fn args], ["ex" cmd], ...) on the session OPTS selects. Returns (ok value) for a command Vim answers, (ok true) for a fire-and-forget one.

Run a hive-vessel :vim-channel PAYLOAD (`["call" fn args]`, `["ex" cmd]`,
...) on the session OPTS selects. Returns (ok value) for a command Vim
answers, (ok true) for a fire-and-forget one.
sourceraw docstring

invoke!clj

(invoke! server {:keys [session timeout-ms]} verb params)

Run VERB with PARAMS on the session OPTS selects (:session, default the most recently active) within :timeout-ms. Returns (ok value) or a :vim/* error.

Run VERB with PARAMS on the session OPTS selects (:session, default the most
recently active) within :timeout-ms. Returns (ok value) or a :vim/* error.
sourceraw docstring

InvokeOptsclj

source

sessionsclj

(sessions server)

Connected sessions, most recently active first. Empty when not running.

Connected sessions, most recently active first. Empty when not running.
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