This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-26
Channels
- # beginners (20)
- # cider (59)
- # cljsrn (6)
- # clojars (7)
- # clojure (91)
- # clojure-boston (1)
- # clojure-dusseldorf (3)
- # clojure-finland (1)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (16)
- # clojure-spec (25)
- # clojure-uk (113)
- # clojurescript (126)
- # core-async (27)
- # cursive (5)
- # data-science (3)
- # datomic (22)
- # emacs (24)
- # fulcro (30)
- # garden (7)
- # graphql (7)
- # leiningen (3)
- # nginx (1)
- # off-topic (63)
- # onyx (13)
- # portkey (1)
- # re-frame (1)
- # reagent (28)
- # shadow-cljs (92)
- # tools-deps (1)
- # uncomplicate (1)
- # vim (24)
- # yada (8)
Just in case anyone else runs into this.. i fixed it by replacing (require ’clj-refactor) with (clj-refactor-mode t) in my .emacs config
@richiardiandrea grandshell
@richiardiandrea Zenburn 😉
@richiardiandrea Doom themes
doom-one
OK, I give up on getting non-emacs folks to use ;;
for line comments. I'm told that Cursive doesn't have a way to configure that.
Anyone found a way to tell emacs not to reindent single-`;` line comments in clj/s?
@eggsyntax ;
in classic Lisp tradition means inline comment, that’s why Emacs re-indents those. People should be using ;;
(or more ;
) for line comments.
Right now there’s no easy way to change this and the behaviour in Cursive is wrong as far as I’m concerned.
I know. I agree entirely that Cursive is wrong here (sorry @cfleming). But I work with a number of Cursive users, and I'm tired of nagging them to remember to do it.
Well, I've filed a Cursive issue requesting at least a config option to use ;;
for line comments. In the meantime I'll keep poking around for workarounds. My best guess at this point is that I'd have to write my own comment-indent-function
.
Here's the issue, in case anyone has anything they want to add: https://github.com/cursive-ide/cursive/issues/1983
Yeah, I think currently we just use the one from lisp-mode
. Might be good to move it to clojure-mode
, so at least we can make it configurable.
If you want to take a stab at this - I can provide you with some tactical support.
@soosool12 I think it works for me on 26.0.91
but exactly is not working?
that is what it highlights if my cursor is on the first opening square bracket @richiardiandrea
let me try
it works here