summaryrefslogtreecommitdiff
path: root/fnl/plugins/leap.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
commit3f539d94dfb004f56b0382971500408e49c4245b (patch)
tree92c936b9a0c22fefa4299826f3e002ec3a80f352 /fnl/plugins/leap.fnl
parent55a50821a7ecd5b4c1008515e88d126fd04c813b (diff)
Include BufNewFile event
Diffstat (limited to 'fnl/plugins/leap.fnl')
-rw-r--r--fnl/plugins/leap.fnl6
1 files changed, 3 insertions, 3 deletions
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}