diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/plugins/editor/colorscheme.fnl | 4 | ||||
-rw-r--r-- | fnl/plugins/editor/window-picker.fnl | 6 |
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} |