This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (4)
- # babashka (29)
- # beginners (15)
- # calva (4)
- # cljs-dev (1)
- # clojure (28)
- # clojure-dev (13)
- # clojure-europe (3)
- # clojure-india (1)
- # clojure-spec (7)
- # clojure-uk (5)
- # clojurescript (37)
- # component (2)
- # conjure (60)
- # cursive (2)
- # datomic (1)
- # emacs (1)
- # figwheel-main (18)
- # fulcro (38)
- # graalvm (6)
- # graphql (13)
- # helix (14)
- # jobs-discuss (1)
- # joker (5)
- # lein-figwheel (2)
- # nrepl (3)
- # off-topic (15)
- # other-languages (1)
- # other-lisps (1)
- # pedestal (2)
- # reagent (8)
- # reitit (44)
- # shadow-cljs (83)
- # slack-help (8)
- # spacemacs (1)
I hope everyone's having an nice weekend 🙂 got a coffee ☕ going to work on
ConjureSchool a little.
I've pushed the first pass of
:ConjureSchool if anyone wants to give it a go 😄 (on
A workflow question: So, up until now, I had a repl running and my vim and I've sent code from my vim to my repl (which was running in a terminal in another app). Is that flow still "encouraged" in Conjure? I mean, the log buffer show a lot of stuff, but if I just want to write some current repl session code and experiment a bit, do I do it inside vim or in the terminal repl? t If inside vim, can I do it without "dirtying" up the working buffer/file with code in comments and stuff like that?
No problem! Let me know if there's anything that isn't working great for you or could be improved!
I don't quite like using vim as my repl, I like having a window (although, using i3, it's a scratch window, so it's hidden until I need it)
@U11EL3P9U - that's the way I do it, even though it's been 4 years since I last used i3. I'm currently satisfying the need with a drop-down terminal (a-la guake)
but yes, having a separate window for my repl works for me. I also use rebel readline to give nice completion etc on the repl.
;; This language is Fennel, it's quite similar to Clojure. ;; 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
You simply say "This language is Fennel", and yes although it's similar to Clojure, why is being used here?
Ah fair point, I shied away from it since I thought it'd be too much detail when you're only really there to learn the mappings
Question, it's not recognizing fnl, do I need setup something in the plugin? I'm trying to "run the code"
Neovim has no support for Fennel until you install https://github.com/bakpakin/fennel.vim However, with ConjureSchool I attempted to detect when Fennel was missing and use Clojure for the syntax highlighting instead. Is that not working for you then? :thinking_face:
Tried to keep it as simple as possible, it'll get too wordy otherwise. I can add a little explanation though
All results are appended to the log buffer, when you don't have the log open the HUD will appear. perhaps
All results are appended to a log buffer. If that log is not open, the HUD will appear
I was wondering
All results are appened to the log buffer -- I was thinking
Where is this log buffer? I don't see it - is that thing that popped up it?
Try opening and closing the log window to get the hang of it now. ->
Try opening and closing the log window to get the hang of those key bindings
(btw, all I'm saying are simply suggestions, you are free of course to accept, reject, modify as you see fit, being the author! 🙂 )
Feel free to leave it open in a split for the next lesson to see how it behaves. ->
Feel free to leave it open in a split for the next lesson to see how the log behaves.
Feel free to leave the log open in a split for the next lesson to see how it behaves.
Awesome! You evaluated the form under your cursor. ->
Awesome! You evaluated the inner form under your cursor.
This line you introduce outermost evaluation
;; If we want to evaluate the outermost form under our cursor, we can use <localleader>er instead.
I would keep it consistent - either say root form in both sentences, or outermost form
;; We can also evaluate a form and replace it with the result of the evaluation with <localleader>e! ;; Try that in the next lesson below. (school.lesson-4)
;; We can also evaluate a form and replace it with the result of the evaluation with <localleader>e! ;; We'll try that in the next lesson below by place your cursor inside the form below and issuing <localleader>e! (school.lesson-4)
;; Now move your cursor elsewhere in the buffer and use <localleader>em to evaluate it. be
;; Now move your cursor elsewhere in the buffer and use <localleader>emf to evaluate it.?