This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-03
Channels
- # announcements (8)
- # aws (2)
- # babashka (16)
- # beginners (173)
- # calva (13)
- # cider (4)
- # cljfx (6)
- # cljs-dev (108)
- # clojure (63)
- # clojure-australia (2)
- # clojure-dev (10)
- # clojure-europe (73)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojurescript (49)
- # clojureverse-ops (4)
- # community-development (3)
- # core-async (23)
- # cursive (3)
- # data-science (5)
- # datomic (25)
- # emacs (3)
- # events (1)
- # fulcro (13)
- # helix (5)
- # introduce-yourself (1)
- # lein-figwheel (1)
- # lsp (36)
- # malli (1)
- # meander (2)
- # membrane (4)
- # music (8)
- # nextjournal (51)
- # off-topic (47)
- # other-languages (5)
- # pathom (31)
- # pedestal (5)
- # planck (14)
- # polylith (5)
- # portal (1)
- # re-frame (30)
- # react (2)
- # reagent (24)
- # releases (1)
- # rewrite-clj (18)
- # ring (9)
- # sci (33)
- # shadow-cljs (49)
- # testing (3)
- # tools-build (21)
- # tools-deps (29)
- # vim (19)
- # web-security (1)
- # xtdb (12)
Does anyone have a sample vim config that uses a lot of LSP features? Would be interesting to see other peoples bindings and so on.
Not sure if it qualifies as "a lot", but most (all?) of my LSP usage is via coc.nvim: https://github.com/walterl/dotfiles/blob/master/_config/nvim/init.vim#L218-L238
Another example, mostly cobbled together from others in this channel (and #conjure): https://github.com/justone/dotfiles-personal/blob/personal/.vimrc#L536-L572
docstrings and jump-to-definition for both clojure.core and libraries work now. i think i had to build the project, then restart nvim and give clojure-lsp 1.5 minutes to finish analyzing the project (its progress was logged when i set neovim’s lsp debug logging.
Hey, long time fireplace user, I think its time I try something else, are there any good summaries of the differences between conjure and iced (both seem very good and feature rich)? Thanks 🙂
If you want to try something different, I suggest https://github.com/rafaeldelboni/nvim-fennel-lsp-conjure-as-clojure-ide It's an neovim config with conjure, Clojure LSP and a handful of other related plugins. It's comprehensive enough for Clojure development, but minimal enough to fairly easily understand and customise

i have never used conjure, but i switched from fireplace to iced some years ago, if you want a comparison between those
Perhaps, if theres anything you wish you could have told yourself before you switched?
fireplace has received a lot of work since i moved away from it (particularly clojurists together funding) so what I say may no longer be true, but my main gripe with it was issues getting it to run for different clojure projects using different tooling, and having to add dependencies for it. with iced as long as you put add its bin folder to your path, it will work with all projects without having to mess with project.clj/deps.edn/etc
i still miss the quasi-repl of fireplace. with iced you have to take a more emacs approach and make changes to the file for transient evals
I think I'm looking for a slightly more "do it for me" approach, maybe in exchange for some customisability. I tried to work out how I'd implement https://github.com/m00qek/baleia.nvim for fireplaces cqp or runtest and quickly ran into questions I didn't know the answer to, or even how I'd find the answer. Such as what buffer name of the preview window is.
Iced does seem more like that kind of project, but maybe I'm getting the wrong impression 🙂
with let g:iced_enable_default_key_mappings = v:true
you’ll also get a complete set of bindings added to your leader
Might be a stupid question, but is attempting to remap the various commands to use the fireplace bindings a viable approach or better to bite the bullet just the iced ones?
I think that would be viable, although there won’t be a 1:1 mapping of commands due to lacking the quasi-repl. if you :help iced
you can see the default mappings at the bottom
Good point 🙂
Well thanks for the advice :thumbsup: much appreciated.
If you want to try something different, I suggest https://github.com/rafaeldelboni/nvim-fennel-lsp-conjure-as-clojure-ide It's an neovim config with conjure, Clojure LSP and a handful of other related plugins. It's comprehensive enough for Clojure development, but minimal enough to fairly easily understand and customise
