This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-22
Channels
- # announcements (2)
- # architecture (33)
- # babashka (4)
- # beginners (445)
- # bristol-clojurians (10)
- # calva (23)
- # cider (43)
- # clj-kondo (36)
- # cljs-dev (13)
- # cljsrn (20)
- # clojure (136)
- # clojure-argentina (8)
- # clojure-dev (1)
- # clojure-europe (18)
- # clojure-germany (1)
- # clojure-italy (5)
- # clojure-nl (45)
- # clojure-spec (66)
- # clojure-uk (29)
- # clojurescript (69)
- # conjure (157)
- # cursive (2)
- # datomic (216)
- # emacs (10)
- # exercism (4)
- # figwheel-main (8)
- # fulcro (30)
- # graphql (21)
- # hoplon (5)
- # kaocha (7)
- # leiningen (3)
- # luminus (4)
- # music (1)
- # off-topic (24)
- # pathom (10)
- # re-frame (19)
- # reagent (11)
- # reitit (16)
- # remote-jobs (1)
- # ring-swagger (5)
- # rum (7)
- # shadow-cljs (125)
- # spacemacs (8)
- # sql (9)
- # tools-deps (12)
How would I configure emacs so that it indents these testing macros like this
(describe "Fruits"
(describe "Apples"
(it "is red" []
;; assertion code
)))
We tried (put-clojure-indent 'it 1)
but I think that doesn’t work properly for it
due to the extra []
? I’m not sure.
@UCPS050BV thanks, I wasn’t quite clear about the syntax there but I’ll give this a shot!
check out the official docs: https://docs.cider.mx/cider/indent_spec.html
Hi, I’m using flycheck-mode
with clojure-mode
and it’s working properly, most of the time, but right now I have a lot of promenade
calls in codebase, like promenade/mlet
https://cljdoc.org/d/promenade/promenade/0.7.2/doc/introduction-to-promenade#mlet. Flycheck complains because mlet
is not recognized as form of let
. Is there a known way to add own special forms to syntax checker to fix this inconvenience?
flycheck probably uses joker and/or clj-kondo for checking - both of them can be configured to ignore/accept these kind of error
Started using org-journal (and now wondering how I lived without it). Has anyone exported the journal to a website with a nice CSS theme? I'd like to just push the content to GitHub or GitLab pages and have something easy to navigate the daily journal. Any pointers would be great. I've seen a few mentions of org-hugo, but wondering if there is a way to do it without a static website build tool.