This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-24
Channels
- # beginners (100)
- # calva (11)
- # cider (17)
- # clj-kondo (2)
- # cljdoc (66)
- # cljs-dev (54)
- # clojure (77)
- # clojure-czech (1)
- # clojure-dev (42)
- # clojure-europe (3)
- # clojure-italy (8)
- # clojure-nl (17)
- # clojure-spec (12)
- # clojure-uk (41)
- # clojurescript (68)
- # cursive (8)
- # datomic (15)
- # emacs (9)
- # expound (3)
- # fulcro (14)
- # garden (3)
- # graphql (2)
- # hoplon (2)
- # lein-figwheel (4)
- # leiningen (4)
- # off-topic (22)
- # onyx (8)
- # parinfer (2)
- # planck (1)
- # re-frame (5)
- # reagent (55)
- # reitit (3)
- # remote-jobs (8)
- # shadow-cljs (35)
- # spacemacs (23)
- # sql (3)
- # tools-deps (32)
- # unrepl (8)
- # vim (25)
- # yada (5)
@snoe I've got the hang of cril
and crml
but is there an inverse please? That inlines a let binding into the body? crel
seems to move the let
up a level, which is fine I guess but not what I want
I guess I want https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-inline-symbol and https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-remove-let
allocation-unsuccessful (eutils/from-command
command
(assoc allocatable
::event/action ::allocation/unsuccessful))
errfn (fn [errors] (sutils/->failure-result command errors
allocation-unsuccessful))]
errfn (fn [errors] (sutils/->failure-result command errors
(eutils/from-command)
command
(assoc allocatable
::event/action ::allocation/unsuccessful)))]
should be:
errfn (fn [errors] (sutils/->failure-result command errors
(eutils/from-command
command
(assoc allocatable
::event/action ::allocation/unsuccessful))))]
Don't worry about the parens - they would have been modified to match the indent level by rust-parinfer
I optimistically tried them but nothing happened 😕. Ah yeah, no handlers registered in the source.
Hmm, maybe I also need EG clj-refactor.nvim? I was hoping Coc could do it all. The bindings seem to conflict. Oh and I see that doesn't support inline-symbol
either 😕
it's a little rough around the edges, but the completion experience is much better than deoplete, from my perspective
@alee yeah, I want to get to feature parity at least with cider refactor, so inline-symbol would be on the list.
and it's really nice having static analysis of my clojure code without having to start a repl. that's super awesome
clj-refactor.nvim and lsp aren't really compatible, I'm putting effort just in lsp these days
coc.nvim tinkerers: do you use https://github.com/autozimu/LanguageClient-neovim or any other LSP client plugins in addition to coc.nvim? i'm finding myself confused about what plugins provide the language client functionality. i'm currently using ALE, coc.nvim, and LanguageClient-neovim, and wondering what, if anything, i might be able to trim from my vim plugins
i did find this thread: https://github.com/w0rp/ale/issues/1577 where someone had questions about LanguageClient-neovim vs. ALE, and it seems like, at least at that time, the author of ALE wasn't super concerned with implementing all of the LSP client functionality one might expect from a proper LSP client plugin, but they also said that he very well might end up implementing everything that LanguageClient-neovim provides in ALE, so :thinking_face: