This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-03
Channels
- # announcements (3)
- # asami (4)
- # aws (1)
- # babashka (22)
- # beginners (111)
- # calva (3)
- # cider (1)
- # clj-kondo (55)
- # clj-on-windows (9)
- # cljsrn (1)
- # clojure (13)
- # clojure-europe (35)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (5)
- # clojurescript (51)
- # conjure (5)
- # cursive (5)
- # datascript (1)
- # datomic (27)
- # deps-new (8)
- # depstar (41)
- # emacs (4)
- # fulcro (24)
- # graphql (4)
- # gratitude (8)
- # helix (36)
- # jobs (2)
- # leiningen (2)
- # lsp (11)
- # off-topic (24)
- # pathom (23)
- # pedestal (2)
- # polylith (27)
- # re-frame (12)
- # reagent (7)
- # reitit (1)
- # releases (3)
- # remote-jobs (1)
- # rewrite-clj (4)
- # sci (1)
- # shadow-cljs (27)
- # spacemacs (12)
- # tools-deps (31)
- # web-security (2)
Any idea what function allowed me to delete a line (`d d`) and have my parentheses still be balanced? I switched from ivy to helm a little bit ago because performance was better, but now I miss this feature when editing clojure. I switched back to ivy again, but the feature is still gone. Then I reinstalled spacemacs, so installed all packages and recompiled, but it’s still gone.
Yes, evil-cleverparens makes Vim bindings respect the Clojure structure
, T s
to toggle on / off
You could add this to your .spacemacs in the dotspacemacs/user-config
section
(spacemacs/toggle-evil-safe-lisp-structural-editing-on-register-hooks)
Or if its just for Clojure :woman-shrugging:
(spacemacs/toggle-evil-safe-lisp-structural-editing-on-register-hook-clojure-mode)
I do have this in my user config: (spacemacs/toggle-evil-safe-lisp-structural-editing-on-register-hooks)
.
Unfortunately that has no effect in any lisp buffer. When I try to describe, SPC h h
, it says it’s in ../init.el
, but it isn’t. First it says the file doesn’t even exist. Then it takes me to my spacemacs folder, (usually ~/.emacs.d
), but the function is not there.
Actually, I can’t seem to find this function defined anywhere.
Edit: Nevermind, it’s here: layers/+spacemacs/spacemacs-evil/packages.el
So that’s strange, it won’t activate on startup. Maybe I’ll need a workaround.
I get evil-cleverparens via the Clojure layer. Although it can also be added as a layer itself https://www.spacemacs.org/layers/+vim/evil-cleverparens/README.html
Ok, I think I’ve solved it. It must have been related to the previous error of line-number not being defined.