This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-14
Channels
- # announcements (7)
- # babashka (51)
- # beginners (292)
- # calva (37)
- # chlorine-clover (40)
- # cider (5)
- # clj-kondo (83)
- # cljs-dev (26)
- # cljsrn (36)
- # clojure (172)
- # clojure-argentina (5)
- # clojure-austin (1)
- # clojure-australia (9)
- # clojure-europe (3)
- # clojure-france (7)
- # clojure-gamedev (3)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-uk (34)
- # clojurescript (46)
- # community-development (1)
- # conjure (26)
- # core-async (28)
- # data-science (2)
- # datascript (2)
- # datomic (61)
- # devcards (3)
- # emacs (7)
- # events (2)
- # fulcro (65)
- # graalvm (57)
- # instaparse (2)
- # juxt (21)
- # luminus (6)
- # off-topic (21)
- # pathom (1)
- # pedestal (15)
- # reagent (1)
- # shadow-cljs (19)
- # spacemacs (3)
- # specter (1)
- # sql (14)
- # unrepl (4)
- # vscode (1)
- # xtdb (1)
- # yada (4)
Planning a way to get and set config values, what do you think about :ConjureCfg mappings.eval-word
to get, :ConjureCfg mappings.eval-word "eW"
to set
Questions 1. ConjureCfg, ConjureConfig? I kinda prefer the short one. 2. You'd have to quote strings on the right so that unquoted could be literal Lua / Fennel values like numbers for some settings. Is that weird?
Also if you wanted to set a language specific config you'd use :ConjureCfg clojure-nrepl mappings.disconnect "cD"
Mainly keeping it short because you'll probably have a lot of these bunched up together on multiple lines. I just wanted to keep it a little more compact and easy to type.
OR, since conjuring is a kind of spell of summoning, you can go to the thematic way and call it scroll or something, like a magical scroll 😄
:ConjureConfig [args] Looks up or sets a configuration value with an
optional language module prefix.
- `:ConjureConfig mappings.prefix`
Show the current mapping prefix.
- `:ConjureConfig mapping.prefix <leader>`
Set the current mapping prefix.
- `:ConjureConfig clojure-nrepl debug? true`
Set a language specific configuration value.
Ignoring the fact that the HUD appears with Clojure stuff in it (working on it) the config command works fairly well! https://asciinema.org/a/Pkyd1QGMQOCe8sGzfLGuVyHCk
Kind of invented a syntax for specifying language and path to value, but I think it's fairly intuitive for lispy / clojure types.
Might rename "langs" to "impls" or implementations since you can have two implementations for Clojure (nREPL and prepl) and swap between them on projects.