From 1167e48eed8114fed8c81ded84864fb2caa53893 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 14:02:12 +0200 Subject: Remove opts from colorscheme and window-picker --- fnl/plugins/editor/window-picker.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/editor/window-picker.fnl') 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 : (fn [] (pick-window)) {}))) -{1 :s1n7ax/nvim-window-picker :event :BufReadPost : opts : config} +{1 :s1n7ax/nvim-window-picker :event :BufReadPost :version :2.0.0 : config} -- cgit v1.2.3-70-g09d2