This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-18
Channels
- # architecture (14)
- # beginners (89)
- # cider (336)
- # cljsrn (2)
- # clojure (181)
- # clojure-berlin (1)
- # clojure-dusseldorf (3)
- # clojure-finland (4)
- # clojure-germany (5)
- # clojure-italy (18)
- # clojure-norway (10)
- # clojure-spec (9)
- # clojure-uk (94)
- # clojurescript (84)
- # cursive (3)
- # data-science (4)
- # datomic (82)
- # emacs (2)
- # events (4)
- # figwheel (1)
- # fulcro (6)
- # graphql (2)
- # hoplon (46)
- # instaparse (24)
- # jobs (9)
- # lein-figwheel (2)
- # luminus (18)
- # lumo (3)
- # mount (1)
- # off-topic (14)
- # onyx (17)
- # parinfer (22)
- # planck (1)
- # protorepl (1)
- # re-frame (50)
- # reagent (7)
- # ring-swagger (6)
- # rum (4)
- # shadow-cljs (94)
- # spacemacs (9)
- # specter (7)
- # tools-deps (2)
- # uncomplicate (4)
- # vim (33)
@eraserhd have you tried doing something like if &paste then paren_mode else smart_mode
for vim?
I mean, that only works for pasting into the terminal, and it assumes you are pasting something already balanced.
Oh, wait. Pasting into the terminal will be receiving 1000 edits. That probably won't work.
like, first message in paste = cursor start position, and when you're finally in &nopaste, then you send the whole set of changes. Getting a bit complicated now though.
Hmm. Well, I think disabling while in paste is a good start. I think that's what it's for. It might be doable and nice to run paren mode on the first event after paste is disabled. Or add a command to run it manually?
>>> Hey! If anyone wants to write the online documentation for the parinfer-rust Vim plugin, that's a thing which I would greatly appreciate. <<<
@eraserhd https://hacks.mozilla.org/2018/04/hello-wasm-pack/ might be useful for parinfer-rust?