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/colorscheme.fnl | 4 ++-- fnl/plugins/editor/window-picker.fnl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'fnl') 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 : (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