Skip to content

Commit b9b41b9

Browse files
committed
Don't use autoload in the school, fixes #214
1 parent 31820e3 commit b9b41b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fnl/conjure/school.fnl

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
(append
4343
(a.concat
4444
["(module user.conjure-school"
45-
" {autoload {school conjure.school}})"
45+
" {require {school conjure.school}})"
4646
""
4747
";; Welcome to Conjure school!"
4848
";; Grab yourself a nice beverage and let's get evaluating. I hope you enjoy!"

lua/conjure/school.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ do
132132
else
133133
_4_ = nil
134134
end
135-
return append(a.concat({"(module user.conjure-school", " {autoload {school conjure.school}})", "", ";; Welcome to Conjure school!", ";; Grab yourself a nice beverage and let's get evaluating. I hope you enjoy!", "", ";; This language is Fennel, it's quite similar to Clojure.", ";; Conjure is written in Fennel, it's compiled to Lua and executed inside Neovim itself.", ";; This means we can work with a Lisp without installing or running anything else.", "", ";; Note: Some colorschemes will make the HUD unreadable, see here for more: https://git.io/JJ1Hl", "", ";; Let's learn how to evaluate it using Conjure's assortment of mappings.", ";; You can learn how to change these mappings with :help conjure-mappings", "", (";; Let's begin by evaluating the whole buffer using " .. map_str("eval_buf"))}, _4_, {"(school.lesson-1)"}))
135+
return append(a.concat({"(module user.conjure-school", " {require {school conjure.school}})", "", ";; Welcome to Conjure school!", ";; Grab yourself a nice beverage and let's get evaluating. I hope you enjoy!", "", ";; This language is Fennel, it's quite similar to Clojure.", ";; Conjure is written in Fennel, it's compiled to Lua and executed inside Neovim itself.", ";; This means we can work with a Lisp without installing or running anything else.", "", ";; Note: Some colorschemes will make the HUD unreadable, see here for more: https://git.io/JJ1Hl", "", ";; Let's learn how to evaluate it using Conjure's assortment of mappings.", ";; You can learn how to change these mappings with :help conjure-mappings", "", (";; Let's begin by evaluating the whole buffer using " .. map_str("eval_buf"))}, _4_, {"(school.lesson-1)"}))
136136
end
137137
v_0_0 = start0
138138
_0_["start"] = v_0_0

0 commit comments

Comments
 (0)