This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-01
Channels
- # admin-announcements (8)
- # arachne (11)
- # beginners (17)
- # boot (64)
- # cider (26)
- # cljs-dev (7)
- # cljsrn (1)
- # clojure (115)
- # clojure-belgium (2)
- # clojure-dusseldorf (15)
- # clojure-poland (15)
- # clojure-russia (62)
- # clojure-spec (86)
- # clojure-uk (208)
- # clojurescript (36)
- # cursive (4)
- # datavis (11)
- # datomic (44)
- # editors (9)
- # hoplon (21)
- # jobs (4)
- # mount (21)
- # off-topic (3)
- # om (113)
- # onyx (65)
- # parinfer (2)
- # perun (3)
- # proton (6)
- # re-frame (29)
- # reagent (20)
- # yada (3)
I don't suppose anybody has any resources on aligning vim/emacs/cursive editors in terms of indentation settings? I've hit a few walls trying to pull it off.
I've found puppetlab's config, but maybe the project I'm on uses more code forms, because we've slightly outgrown it already.
Not sure I understand, but have you tried http://editorconfig.org ?
I don't think editorconfig helps with editor specific lisp/clojure indent settings
@wamaral: It's more to do with editors arguing over where indents should be placed in terms of:
- Which forms are special
- To single space or not to single space https://github.com/bbatsov/clojure-style-guide/issues/126
- Should #(
be considered as indented related to the (
or the #
https://github.com/cursive-ide/cursive/issues/1227
- Do you sort ns forms? Emacs/Vim can do this via cider/nvim-refactor|vim-cider but I can't see it in cursive.
- etc.
I was hoping someone might have a big folder of editor configuration done that will let me jump ahead. Or maybe even just tips.
@jasongilman: following up on testing: https://github.com/pbiggar/nativeparedit/blob/master/test/clj/jasmine/macros.clj. I found it better to go with jasmine rather than cljs.test, as atom has a bunch of things like waitForPromise that weren't obvious how to integrate into cljs.test.
Yo! Should cider and the cljs repl work out of the box? My editor keeps giving this when I try to switch to a cljs namespace https://github.com/clojure-emacs/cider/blob/0f64a618ffb257c6c032e2709eb78fc03ae0c4c3/cider-client.el#L348