This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-16
Channels
- # admin-announcements (1)
- # announcements (1)
- # babashka (130)
- # beginners (120)
- # calva (11)
- # cider (5)
- # clj-kondo (9)
- # cljsrn (17)
- # clojure (63)
- # clojure-australia (1)
- # clojure-canada (21)
- # clojure-europe (37)
- # clojure-israel (4)
- # clojure-uk (6)
- # clojurescript (170)
- # conjure (5)
- # core-async (23)
- # cursive (16)
- # datomic (4)
- # defnpodcast (1)
- # emacs (5)
- # fulcro (1)
- # gis (2)
- # graalvm (31)
- # graphql (4)
- # helix (6)
- # honeysql (16)
- # jobs-discuss (3)
- # juxt (1)
- # lsp (7)
- # malli (20)
- # meander (12)
- # missionary (6)
- # off-topic (50)
- # pathom (4)
- # re-frame (4)
- # react (1)
- # ring (2)
- # shadow-cljs (63)
- # spacemacs (2)
- # sql (15)
- # testing (6)
- # vim (8)
- # xtdb (7)
Hi everyone! I’m having a strange issue with .dir-locals.el
and not certain what’s causing it.
I’m using shadow-cljs, and just wanted to make it super easy to start REPL. My whole file is
((nil . ((cider-default-cljs-repl . shadow)
(cider-shadow-default-options . "app")
(cider-shadow-watched-builds . ("app" "test")))))
However, when I visit any file in the project, emacs gives this error: Ignoring unsafe file local variable: cider-shadow-watched-builds
. It never errors for other 2 variables. So I have to manually set it, which breaks the flow a little bit. Any idea why that variable would be causing issues? I’m using doom-emacs, and it doesn’t even give me an option to trust that variable.This is a fixed issue. Not sure if the fix is released though. https://github.com/clojure-emacs/cider/issues/3000
Doom Emacs sets enable-local-variables to :safe. I have it set to t in my config so that it will prompt to set unsafe variables and mark them as trusted
Thanks for the replies! Will try these first thing tomorrow morning