summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/spectre.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
commit8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch)
treea7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/spectre.fnl
parentfd69ec549594d53b9503212d93a9a44f10eef478 (diff)
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/spectre.fnl')
-rw-r--r--fnl/plugins/editor/spectre.fnl11
1 files changed, 5 insertions, 6 deletions
diff --git a/fnl/plugins/editor/spectre.fnl b/fnl/plugins/editor/spectre.fnl
index 81cc77c..c7307f8 100644
--- a/fnl/plugins/editor/spectre.fnl
+++ b/fnl/plugins/editor/spectre.fnl
@@ -78,10 +78,9 @@
:is_open_target_win true
:is_insert_mode false})
-{1 :windwp/nvim-spectre
- :event :BufReadPost
- : init
- :keys [{1 :<leader>rn 2 :<cmd>ReplaceInBuf<cr> :desc "Replace in Buffer"}
+(local keys
+ [{1 :<leader>rn 2 :<cmd>ReplaceInBuf<cr> :desc "Replace in Buffer"}
{1 :<leader>re 2 :<cmd>Replace<cr> :desc :Replace}
- {1 :<leader>ri 2 :<cmd>ReplaceWord<cr> :desc "Replace Word"}]
- : opts}
+ {1 :<leader>ri 2 :<cmd>ReplaceWord<cr> :desc "Replace Word"}])
+
+{1 :windwp/nvim-spectre :event :BufReadPost : init : keys : opts}