From 3f539d94dfb004f56b0382971500408e49c4245b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 28 May 2024 22:00:09 +0200 Subject: Include BufNewFile event --- fnl/plugins/leap.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/leap.fnl') diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl index c5b700d..b17df72 100644 --- a/fnl/plugins/leap.fnl +++ b/fnl/plugins/leap.fnl @@ -1,13 +1,13 @@ ;; Leap through text. (local dependencies [{1 :ggandor/flit.nvim - :event :BufReadPost + :event [:BufReadPost :BufNewFile] :opts {:keys {:f :f :F :F :t :t :T :T} :labeled_modes :v :multiline true :opts {}}} {1 :ggandor/leap-spooky.nvim - :event :BufReadPost + :event [:BufReadPost :BufNewFile] :opts {;; Additional text objects, to be merged with the default ones. ;; E.g.: {'iq', 'aq'} :extra_text_objects nil @@ -34,4 +34,4 @@ (leap.setup {}) (leap.set_default_keymaps))) -{1 :ggandor/leap.nvim : dependencies :event :BufReadPost : config} +{1 :ggandor/leap.nvim : dependencies :event [:BufReadPost :BufNewFile] : config} -- cgit v1.2.3-70-g09d2