This commit is contained in:
2026-02-15 01:15:04 -05:00
parent 6636435293
commit 800618ef60
4 changed files with 14 additions and 143 deletions
+1
View File
@@ -3,6 +3,7 @@ undodir
# Generated Lua files (compiled from Fennel by nfnl) # Generated Lua files (compiled from Fennel by nfnl)
lua/config/ lua/config/
lua/plugins/ lua/plugins/
lua/lisp-school.lua
# Clojure/LSP tooling # Clojure/LSP tooling
.clj-kondo/ .clj-kondo/
-9
View File
@@ -139,13 +139,4 @@
(fn [] (vim.cmd (.. "edit " (vim.lsp.get_log_path)))) (fn [] (vim.cmd (.. "edit " (vim.lsp.get_log_path))))
{:desc "Open LSP log file"}) {:desc "Open LSP log file"})
;; LispSchool - Interactive structural editing tutorial
(usercmd "LispSchool"
(fn [] (let [ls (require :lisp-school)] (ls.start)))
{:desc "Start LispSchool tutorial"})
(usercmd "LispSchoolNext"
(fn [] (let [ls (require :lisp-school)] (ls.next)))
{:desc "Next LispSchool lesson"})
{} {}
+13
View File
@@ -70,6 +70,19 @@
(vim.keymap.set :n "gw" (fn [] (hop.hint_words)) (vim.keymap.set :n "gw" (fn [] (hop.hint_words))
{:desc "Hop to word"})))} {:desc "Hop to word"})))}
;; LispSchool - Interactive structural editing tutorial
;; Source: fnl/lisp-school.fnl (compiled by nfnl)
{:name "lisp-school"
:dir "."
:cmd ["LispSchool" "LispSchoolNext"]
:config (fn []
(vim.api.nvim_create_user_command "LispSchool"
(fn [] (let [ls (require :lisp-school)] (ls.start)))
{:desc "Start LispSchool tutorial"})
(vim.api.nvim_create_user_command "LispSchoolNext"
(fn [] (let [ls (require :lisp-school)] (ls.next)))
{:desc "Next LispSchool lesson"}))}
;; which-key - Shows keybinding hints ;; which-key - Shows keybinding hints
;; lhs constant defined at top - which-key specs use index [1] for the key sequence ;; lhs constant defined at top - which-key specs use index [1] for the key sequence
{repo "folke/which-key.nvim" {repo "folke/which-key.nvim"
-134
View File
File diff suppressed because one or more lines are too long