update
This commit is contained in:
@@ -3,6 +3,7 @@ undodir
|
||||
# Generated Lua files (compiled from Fennel by nfnl)
|
||||
lua/config/
|
||||
lua/plugins/
|
||||
lua/lisp-school.lua
|
||||
|
||||
# Clojure/LSP tooling
|
||||
.clj-kondo/
|
||||
|
||||
@@ -139,13 +139,4 @@
|
||||
(fn [] (vim.cmd (.. "edit " (vim.lsp.get_log_path))))
|
||||
{: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))
|
||||
{: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
|
||||
;; lhs constant defined at top - which-key specs use index [1] for the key sequence
|
||||
{repo "folke/which-key.nvim"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user