This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-31
Channels
- # architecture (1)
- # asami (25)
- # babashka (1)
- # beginners (1)
- # calva (23)
- # clj-kondo (54)
- # cljfx (23)
- # cljsrn (9)
- # clojure (72)
- # clojure-europe (2)
- # clojure-spec (16)
- # clojure-uk (4)
- # clojurescript (10)
- # code-reviews (1)
- # cursive (2)
- # datomic (1)
- # events (2)
- # exercism (2)
- # fulcro (6)
- # graalvm (1)
- # malli (1)
- # membrane (1)
- # off-topic (31)
- # pathom (3)
- # reagent (6)
- # reitit (2)
- # releases (1)
- # shadow-cljs (1)
- # vim (6)
- # vrac (25)
- # xtdb (4)
When using vim-iced
, I usually start my repl with iced repl -A:dev
, which now gives a warning about using -M
when invoking main. However, using -M:dev
instead results in a FileNotFoundException
. I assume vim-iced
has its own internal list of recognized CLI options that it passes to clj
?
The -A
alias should work for a while longer, but ideally vim-iced should also accept the -M
option.
It does sound like vim-iced has hard-coded the -A
alias somewhere as -M and -A are interchangable at the moment (but not forever).
From Clojure CLI tools 1.10.1.697 onwards, when ever clojure.main is called, the -M
flag should be used, although for the moment its just a warning. Running a REPL using Clojure CLI tools currently uses clojure main to start that repl.
If vim-iced can connect to an externally started REPL process, then to avoid the warning use that approach and you should be able to use -M for your aliases.