From 2a94573f54c69a9af7536586ab2c03eb88bda5e7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 5 Jan 2024 01:50:20 +0100 Subject: Refactor --- fnl/plugins/core/hotpot.fnl | 3 --- fnl/plugins/core/lazy.fnl | 42 ------------------------------------------ 2 files changed, 45 deletions(-) delete mode 100644 fnl/plugins/core/hotpot.fnl delete mode 100644 fnl/plugins/core/lazy.fnl (limited to 'fnl/plugins/core') diff --git a/fnl/plugins/core/hotpot.fnl b/fnl/plugins/core/hotpot.fnl deleted file mode 100644 index eba8083..0000000 --- a/fnl/plugins/core/hotpot.fnl +++ /dev/null @@ -1,3 +0,0 @@ -;; Transpiler for fnl. - -{1 :rktjmp/hotpot.nvim} diff --git a/fnl/plugins/core/lazy.fnl b/fnl/plugins/core/lazy.fnl deleted file mode 100644 index 30903f5..0000000 --- a/fnl/plugins/core/lazy.fnl +++ /dev/null @@ -1,42 +0,0 @@ -;; Lazy opts. - -(local icons (require :plugins.icons)) - -(local opts {:install {:colorscheme [:no-clown-fiesta]} - :debug false - :defaults {:lazy false} - :performance {:cache {:enabled true} - :rtp {:disabled_plugins [:gzip - :matchit - :netrwPlugin - :tarPlugin - :tohtml - :tutor - :zipPlugin]}} - :ui {:border :single - :icons {:cmd (.. (. icons :cmd) " ") - :config (.. (. icons :cog) " ") - :event (.. (. icons :lightning) " ") - :ft (.. (. icons :document) " ") - :init (.. (. icons :cog) " ") - :import (.. (. icons :import) " ") - :keys (.. (. icons :keyboard) " ") - :lazy (.. (. icons :sleep) " ") - :loaded (.. (. icons :filled-orb) " ") - :not_loaded (.. (. icons :orb) " ") - :plugin (.. (. icons :package) " ") - :runtime (.. (. icons :vim) " ") - :source (.. (. icons :code) " ") - :start (.. (. icons :play) " ") - :task (.. (. icons :checkmark) " ") - :list [(.. (. icons :filled-orb) " ") - (.. (. icons :right-arrow) " ") - (.. (. icons :star) " ") - (.. (. icons :line) " ")]}}}) - -(fn setup [plugins] - (let [lazy (require :lazy)] - (vim.keymap.set :n :y "Lazy home" {:desc :Home}) - (lazy.setup plugins opts))) - -{: setup} -- cgit v1.2.3-70-g09d2