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.
(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.
(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.
(sessions server)Connected sessions, most recently active first. Empty when not running.
Connected sessions, most recently active first. Empty when not running.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |