summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 14:02:12 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 14:02:12 +0200
commit1167e48eed8114fed8c81ded84864fb2caa53893 (patch)
treeba518d96c15f9931bee00f5bc94aef97031f2b77 /fnl
parent8ad2f8c9afb308e7a8a1133f578e3352442f770a (diff)
Remove opts from colorscheme and window-picker
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/editor/colorscheme.fnl4
-rw-r--r--fnl/plugins/editor/window-picker.fnl6
2 files changed, 5 insertions, 5 deletions
diff --git a/fnl/plugins/editor/colorscheme.fnl b/fnl/plugins/editor/colorscheme.fnl
index d3e62cb..85c83fd 100644
--- a/fnl/plugins/editor/colorscheme.fnl
+++ b/fnl/plugins/editor/colorscheme.fnl
@@ -2,9 +2,9 @@
(local opts {:styles {:type {:bold true} :lsp {:underline false}}})
-(lambda config [_ opts]
+(fn config []
(let [plugin (require :no-clown-fiesta)]
(plugin.setup opts)
(plugin.load)))
-{1 :aktersnurra/no-clown-fiesta.nvim : opts : config}
+{1 :aktersnurra/no-clown-fiesta.nvim : config}
diff --git a/fnl/plugins/editor/window-picker.fnl b/fnl/plugins/editor/window-picker.fnl
index 2d4b335..e396ce1 100644
--- a/fnl/plugins/editor/window-picker.fnl
+++ b/fnl/plugins/editor/window-picker.fnl
@@ -4,16 +4,16 @@
:fg_color "#E1E1E1"
:selection_chars :MNEIOARSTG})
-(fn pick-window [opts]
+(fn pick-window []
(let [window-picker (require :window-picker)]
(let [win (window-picker.pick_window)]
(if (not= win nil)
(vim.api.nvim_set_current_win win)))))
-(lambda config [_ opts]
+(fn config []
(let [window-picker (require :window-picker)]
(window-picker.setup opts)
(vim.keymap.set :n :<C-s> (fn []
(pick-window)) {})))
-{1 :s1n7ax/nvim-window-picker :event :BufReadPost : opts : config}
+{1 :s1n7ax/nvim-window-picker :event :BufReadPost :version :2.0.0 : config}