This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-25
Channels
- # aleph (6)
- # beginners (6)
- # boot (94)
- # cider (34)
- # cljs-dev (36)
- # cljsrn (12)
- # clojure (124)
- # clojure-dev (41)
- # clojure-dusseldorf (6)
- # clojure-italy (3)
- # clojure-norway (1)
- # clojure-russia (161)
- # clojure-sg (7)
- # clojure-spec (71)
- # clojure-uk (95)
- # clojurescript (38)
- # core-async (16)
- # cursive (14)
- # data-science (1)
- # datascript (12)
- # datomic (15)
- # emacs (22)
- # funcool (2)
- # hoplon (15)
- # jobs-rus (2)
- # juxt (9)
- # liberator (7)
- # lumo (1)
- # off-topic (136)
- # onyx (24)
- # pedestal (39)
- # perun (2)
- # planck (20)
- # re-frame (23)
- # spacemacs (31)
- # unrepl (5)
- # untangled (1)
- # vim (1)
- # yada (29)
@qqq I use browse-kill-ring for that http://melpa.org/#/browse-kill-ring https://github.com/tanzoniteblack/dotemacs/blob/master/init.el#L647
There is also helm-show-kill-ring
(I personally bind it to M-y
). I’m sure ivy/counsel has something similar
I have js2-mode
on in my json files...unfortunately it seems that indent-line-function
gets hijacked by js-mode
is there a way to get around that? (`add-hook` does not work)
@richiardiandrea interesting js2-indent-line
is just an alias for js-indent-line
. I can’t imagine that a (setf indent-line-function ... )
would not work in an add-hook
though…
oh really
separately, is there something js2-mode gives that json-mode
doesn’t? (I know that wasn’t your question, but I tried js2-mode in a json buffer and there were false errors galore)
well, i need to investigate why, maybe the problem is elsewhere...I am setting js2-base-offest
in the hook but probably I need to set something else then
@cmack I actually use json-mode
AND js2-mode
now, they play well together but my goal was to disable js2-mode
in .json
files
they play together...until they don't 😄
that is why something was not working correctly 😄
so js2-mode
in taking over...need to find how to disable it for .json
files
@cmack so now I am using json-mode
and (setq js-indent-level 2)
solved my formatting issues thanks!