diff --git a/fnl/formedit/wrap.fnl b/fnl/formedit/wrap.fnl index c86c325..dc283f6 100644 --- a/fnl/formedit/wrap.fnl +++ b/fnl/formedit/wrap.fnl @@ -7,7 +7,8 @@ (vim.api.nvim_buf_set_text 0 end-row end-col end-row end-col [")"]) (vim.api.nvim_buf_set_text 0 start-row start-col start-row start-col ["( "]) (vim.api.nvim_win_set_cursor 0 - [(+ start-row 1) (+ start-col insert-offset 1)]) + [(+ start-row 1) + (+ start-col insert-offset 1)]) (vim.api.nvim_feedkeys :i :n true))) {: head} diff --git a/fnl/spec/slurp_spec.fnl b/fnl/spec/slurp_spec.fnl index 2c6f62e..02aa5c1 100644 --- a/fnl/spec/slurp_spec.fnl +++ b/fnl/spec/slurp_spec.fnl @@ -25,7 +25,6 @@ (h.feedkeys forward-keymap) (h.expect {:content "(#{1 2})" :cursor [1 1]}))))) - (describe "slurp backwards" (fn [] (before_each (fn [] diff --git a/fnl/spec/wrap_spec.fnl b/fnl/spec/wrap_spec.fnl index 6ad1d52..c7e6518 100644 --- a/fnl/spec/wrap_spec.fnl +++ b/fnl/spec/wrap_spec.fnl @@ -19,4 +19,3 @@ (h.setup {:content "(1 (2))" :cursor [1 3]}) (h.feedkeys keymap) (h.expect {:content "(1 ( (2)))" :cursor [1 4]}))))) -