diff --git a/.config/nvim/fnl/plugins/init.fnl b/.config/nvim/fnl/plugins/init.fnl index 3b7754e..5377e2e 100644 --- a/.config/nvim/fnl/plugins/init.fnl +++ b/.config/nvim/fnl/plugins/init.fnl @@ -1,8 +1,11 @@ ;; Plugin specs in Fennel ;; This file is compiled to lua/plugins/init.lua by nfnl +(local repo 1) ;; lazy.nvim spec index for the git repo (e.g., "folke/plugin") +(local lhs 1) ;; which-key spec index for the key sequence (see which-key below) + [;; Tokyonight - Colorscheme - {1 "folke/tokyonight.nvim" + {repo "folke/tokyonight.nvim" :lazy false :priority 1000 :config (fn [] @@ -14,7 +17,7 @@ (vim.cmd.colorscheme "tokyonight"))} ;; Conjure - Interactive REPL for Fennel, Clojure, Lisp, etc. - {1 "Olical/conjure" + {repo "Olical/conjure" :ft ["fennel" "clojure" "lisp" "scheme" "racket" "lua"] :config (fn [] ;; Enable HUD floating window @@ -23,7 +26,7 @@ ;; nvim-paredit - Structural editing for Lisp ;; Default keybindings: >)/<) slurp/barf forward, <(/>( slurp/barf backward ;; >e/f/f" :group "find"} - {1 "b" :group "buffer"} - {1 "r" :group "refactor"} - {1 "c" :group "code"}]))}] + [{lhs "f" :group "find"} + {lhs "b" :group "buffer"} + {lhs "r" :group "refactor"} + {lhs "c" :group "code"}]))}]