summaryrefslogtreecommitdiff
path: root/fnl/plugins/spectre.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/spectre.fnl
parent55a50821a7ecd5b4c1008515e88d126fd04c813b (diff)
Include BufNewFile event
Diffstat (limited to 'fnl/plugins/spectre.fnl')
-rw-r--r--fnl/plugins/spectre.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/plugins/spectre.fnl b/fnl/plugins/spectre.fnl
index c7307f8..8c86a6d 100644
--- a/fnl/plugins/spectre.fnl
+++ b/fnl/plugins/spectre.fnl
@@ -83,4 +83,4 @@
{1 :<leader>re 2 :<cmd>Replace<cr> :desc :Replace}
{1 :<leader>ri 2 :<cmd>ReplaceWord<cr> :desc "Replace Word"}])
-{1 :windwp/nvim-spectre :event :BufReadPost : init : keys : opts}
+{1 :windwp/nvim-spectre :event [:BufReadPost :BufNewFile] : init : keys : opts}