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