This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-30
Channels
- # aws (4)
- # beginners (143)
- # boot (37)
- # cider (31)
- # cljs-dev (53)
- # clojure (303)
- # clojure-conj (5)
- # clojure-dev (106)
- # clojure-dusseldorf (2)
- # clojure-greece (3)
- # clojure-italy (23)
- # clojure-spec (83)
- # clojure-uk (7)
- # clojurescript (328)
- # core-async (25)
- # cursive (2)
- # datascript (2)
- # datomic (3)
- # emacs (10)
- # hoplon (1)
- # jobs (2)
- # lein-figwheel (1)
- # leiningen (13)
- # luminus (6)
- # off-topic (38)
- # onyx (2)
- # parinfer (13)
- # pedestal (2)
- # portkey (5)
- # re-frame (11)
- # reagent (2)
- # shadow-cljs (61)
- # specter (6)
- # unrepl (60)
- # vim (4)
thought: typing semicolon while pushing a lot of closing parens should remove the paren trail from the new comment.
is there no vim “change” event to subscribe to?
ideally, if the buffer changed, there would be an event that described the nature of the change for any operation
I’ve only personally integrated smart mode for Atom and CodeMirror so far. both had the “change” event I described
@eraserhd hah i thought i was the only one. which is too bad because hitting semicolon with parinfer accidentally really causes pandemonium sometimes!
@shaunlebron Vim events are very weird. They don't carry a lot of information, like the previous cursor. So I need to find events that get triggered before each thing.
(as well as after). I'm now tracking CursorMove, which helps in some cases and hurts in others.
There's also weirdness where some commands which enter "insert mode" make changes in the process, and those changes don't emit a "TextChanged*" event.
😕 bummer