From 152fd9d787c7433cad95795992e444250cb83216 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Thu, 16 Apr 2026 15:10:52 +0200 Subject: Add fff and other nice things such as macros --- fnl/plugins/leap.fnl | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'fnl/plugins/leap.fnl') diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl index 397b873..0526109 100644 --- a/fnl/plugins/leap.fnl +++ b/fnl/plugins/leap.fnl @@ -1,12 +1,6 @@ ;; Leap through text. -(local dependencies [{1 :ggandor/flit.nvim - :event :VimEnter - :opts {:keys {:f :f :F :F :t :t :T :T} - :labeled_modes :v - :multiline true - :opts {}}} - {1 :tpope/vim-repeat :event :VeryLazy} +(local dependencies [{1 :tpope/vim-repeat :event :VeryLazy} {1 :aktersnurra/leap-spooky.nvim :event :VeryLazy :opts {;; Additional text objects, to be merged with the default ones. @@ -32,7 +26,7 @@ (λ config [] (let [leap (require :leap)] - (leap.setup {}) + (tset leap.opts.vim_opts "go.ignorecase" false) (vim.keymap.set [:n :x :o] :s "(leap-forward)") (vim.keymap.set [:n :x :o] :S "(leap-backward)") (vim.keymap.set [:x :o] :x "(leap-forward-till)") @@ -40,7 +34,6 @@ (vim.keymap.set [:n] :gs "(leap-from-window)"))) {:url "https://codeberg.org/andyg/leap.nvim" -:name :leap.nvim : dependencies :event :VeryLazy : config} -- cgit v1.2.3-70-g09d2