|
|
@ -70,19 +70,19 @@
|
|
|
|
(nvim_echo (icollect [_ l (ipairs output)]
|
|
|
|
(nvim_echo (icollect [_ l (ipairs output)]
|
|
|
|
[l hl]) true {})))
|
|
|
|
[l hl]) true {})))
|
|
|
|
|
|
|
|
|
|
|
|
(vim.keymap.set :n :heb #(let [{: eval-buffer} (require :hotpot.api.eval)]
|
|
|
|
; (vim.keymap.set :n :heb #(let [{: eval-buffer} (require :hotpot.api.eval)]
|
|
|
|
(pecho (eval-buffer 0)))
|
|
|
|
; (pecho (eval-buffer 0)))
|
|
|
|
{:desc "Evaluate entire buffer"})
|
|
|
|
; {:desc "Evaluate entire buffer"})
|
|
|
|
|
|
|
|
|
|
|
|
(vim.keymap.set :v :hes #(let [{: eval-selection} (require :hotpot.api.eval)]
|
|
|
|
; (vim.keymap.set :v :hes #(let [{: eval-selection} (require :hotpot.api.eval)]
|
|
|
|
(pecho (eval-selection)))
|
|
|
|
; (pecho (eval-selection)))
|
|
|
|
{:desc "Evaluate selection"})
|
|
|
|
; {:desc "Evaluate selection"})
|
|
|
|
|
|
|
|
|
|
|
|
(vim.keymap.set :n :hcb #(let [{: compile-buffer} (require :hotpot.api.compile)]
|
|
|
|
; (vim.keymap.set :n :hcb #(let [{: compile-buffer} (require :hotpot.api.compile)]
|
|
|
|
(pecho (compile-buffer 0)))
|
|
|
|
; (pecho (compile-buffer 0)))
|
|
|
|
{:desc "Compile entire buffer"})
|
|
|
|
; {:desc "Compile entire buffer"})
|
|
|
|
|
|
|
|
|
|
|
|
(vim.keymap.set :v :hcs #(let [{: compile-selection} (require :hotpot.api.compile)]
|
|
|
|
; (vim.keymap.set :v :hcs #(let [{: compile-selection} (require :hotpot.api.compile)]
|
|
|
|
(pecho (compile-selection)))
|
|
|
|
; (pecho (compile-selection)))
|
|
|
|
{:desc "Compile selection"})
|
|
|
|
; {:desc "Compile selection"})
|
|
|
|
|
|
|
|
|
|
|
|