Fork me on GitHub
#lsp
<
2024-05-15
>
reefersleep09:05:43

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.

The Continium10:05:51

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.

reefersleep10:05:46

Shows how much I know... I thought lazy.nvim and mason.nvim were in competition, not complementing

reefersleep11:05:28

Thank you! I think I managed to install it.

reefersleep11:05:27

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.

reefersleep11:05:32

ah wait, it works in Clojure, but not in bb

reefersleep11:05:48

<Space>cr seems to rename in a proper refactoring way, yay!

reefersleep11:05:01

Can't figure out how to find the specific mappings for clojure-lsp

reefersleep09:05:12

I was hoping it'd be a plug-and-play sort of thing.