This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-15
Channels
- # babashka (3)
- # beginners (28)
- # calva (8)
- # cider (16)
- # clj-on-windows (4)
- # clojure (69)
- # clojure-europe (29)
- # clojure-norway (42)
- # clojure-uk (4)
- # community-development (5)
- # conjure (3)
- # cursive (18)
- # datomic (68)
- # emacs (23)
- # events (1)
- # honeysql (7)
- # introduce-yourself (1)
- # jobs (1)
- # lsp (11)
- # music (1)
- # observability (3)
- # off-topic (35)
- # other-languages (33)
- # releases (1)
- # remote-jobs (2)
- # ring (18)
- # shadow-cljs (16)
- # timbre (5)
- # tools-deps (9)
I asked a question about using clojure-lsp in neovim with LazyVim here in #neovim : https://clojurians.slack.com/archives/C02PR4GM873/p1715765845643479 But maybe I should have asked it here 🙂 Can anyone help get me started? I'm new to lua configuration in neovim, having used barebones nvim for years, and I thought LazyVim would be an easy way into a more IDE-like experience.
I use mason to install it and it works out of the box. It looks like it is there by default “<leader>cm”- see https://github.com/LazyVim/LazyVim/blob/12a48b8ce1521fcac01b89099a4ca8bbc3547769/lua/lazyvim/plugins/lsp/init.lua#L240.
Shows how much I know... I thought lazy.nvim and mason.nvim were in competition, not complementing
Thank you! I think I managed to install it.
So, if I gd
on a symbol, it goes to the definition within the same file. Great! But nothing happens when I try a symbol that's defined as a var in a different file.
ah wait, it works in Clojure, but not in bb
<Space>cr
seems to rename in a proper refactoring way, yay!
Can't figure out how to find the specific mappings for clojure-lsp
it’s the generic mappings for all lsp clients that LazyVim has setup https://github.com/LazyVim/LazyVim/blob/12a48b8ce1521fcac01b89099a4ca8bbc3547769/lua/lazyvim/plugins/lsp/keymaps.lua
Thank you!
I was hoping it'd be a plug-and-play sort of thing.