This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-31
Channels
- # announcements (6)
- # babashka (32)
- # beginners (78)
- # biff (11)
- # calva (7)
- # clj-kondo (20)
- # clojure (35)
- # clojure-europe (10)
- # clojure-nl (4)
- # clojure-norway (8)
- # clojure-uk (2)
- # clojurescript (41)
- # conjure (14)
- # core-async (10)
- # cursive (7)
- # datomic (12)
- # deps-new (4)
- # emacs (15)
- # fulcro (48)
- # gratitude (11)
- # hugsql (1)
- # hyperfiddle (3)
- # introduce-yourself (3)
- # jobs (3)
- # klipse (2)
- # off-topic (7)
- # polylith (30)
- # reitit (1)
- # remote-jobs (1)
- # reveal (8)
- # scittle (4)
- # shadow-cljs (40)
- # squint (13)
- # tools-deps (7)
- # xtdb (7)
Does anyone know of a way or a function in emacs to treat a tagged literal as a form in the paredit ops? so backwards-sexp
would work on this:
#inst "2022"|
|#inst "2022"
(I suppose I could wrap all the paredit functions in a function that just ie does the backwards-sexp
then checks if the next form for a #
, but is there something out there that already handles this?)Did you ever find a solution here? I'm also curious how to teach paredit about tagged literals.
I feel like https://www.masteringemacs.org/article/combobulate-structured-movement-editing-treesitter is the way this should go
I never did solve this (or try that hard to). That library looks interesting and I've been meaning to try out treesitter. If anyone has this working (with that library or otherwise) I'd love to see it
For context, I’m trying to practice building SPA’s with Doom Emacs but am not sure how to go about transitioning if I don’t know how to quickly run the html with hot reload etc
@niko.escobal Check impatient-mode
https://github.com/skeeto/impatient-mode to quickly edit some HTML/CSS, Markdown.
But for building SPA, the hot-reload part should be managed by your dev tooling (eg. Shadow-CLJS/Figwheel), not the editor IMO.
amazing! @UFBL6R4P3 thanks for sharing. I’ll def give this a try. Would you know if this works with CSS frameworks like Tailwind?
Also, I’m quite new to Clojure so I haven’t tried using Shadow-cljs/figwheel just yet but will do so soon!
About Tailwind yes, there is multiple solution.
For a simple HTML edit with Tailwind, you can quickly start using the CDN last TW version adding this tag to the head:
<script src="
https://tailwindcss.com/docs/installation/play-cdn
When ready to go further, take a look at this starter project for a SPA with Shadow-CLJS + Tailwind: https://github.com/jacekschae/shadow-cljs-tailwindcss
@UFBL6R4P3 thanks so much for the help. I’ll definitely give this a try!
someone just made a youtube video to, i haven't watch it, but he is a entertaning and clear with nearly all his other videos. You don't have to follow his setup exactly, but it might help. https://youtu.be/V-dBmuRsW6w
Did you ever find a solution here? I'm also curious how to teach paredit about tagged literals.