update
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
@@ -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"})
|
|
||||||
|
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user