From 8ad2f8c9afb308e7a8a1133f578e3352442f770a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 01:12:42 +0200 Subject: Restructure plugin configs --- fnl/plugins/editor/colorscheme.fnl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'fnl/plugins/editor/colorscheme.fnl') diff --git a/fnl/plugins/editor/colorscheme.fnl b/fnl/plugins/editor/colorscheme.fnl index 146c62f..d3e62cb 100644 --- a/fnl/plugins/editor/colorscheme.fnl +++ b/fnl/plugins/editor/colorscheme.fnl @@ -1,8 +1,10 @@ ;; Load neovim colorscheme. -{1 :aktersnurra/no-clown-fiesta.nvim - :opts {:styles {:type {:bold true} :lsp {:underline false}}} - :config (lambda [_ opts] - (let [plugin (require :no-clown-fiesta)] - (plugin.setup opts) - (plugin.load)))} +(local opts {:styles {:type {:bold true} :lsp {:underline false}}}) + +(lambda config [_ opts] + (let [plugin (require :no-clown-fiesta)] + (plugin.setup opts) + (plugin.load))) + +{1 :aktersnurra/no-clown-fiesta.nvim : opts : config} -- cgit v1.2.3-70-g09d2