Skip to content

Commit 83056b9

Browse files
committed
Add more vim API, message accessor fns
1 parent b3abd72 commit 83056b9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/neovim_client/message.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151

5252
(defn params
5353
[msg]
54-
{:pre [(request? msg)]}
54+
{:pre [(or (request? msg) (response? msg))]}
5555
(last msg))

src/neovim_client/nvim.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
(defvim buffer-get-line "buffer_get_line" buffer line-num)
3030
(defvim buffer-line-count "buffer_line_count" buffer)
3131
(defvim buffer-get-name "buffer_get_name" buffer)
32+
(defvim buffer-get-var "buffer_get_var" buffer var-name)
3233
(defvim buffer-set-line "buffer_set_line" buffer line-num line)
3334
(defvim vim-call-function "vim_call_function" f-name args)
3435
(defvim vim-command "vim_command" cmd-str)

0 commit comments

Comments
 (0)