Fork me on GitHub
#lsp
<
2024-04-01
>
James Amberger01:04:34

Hello I am new to LSP use; my first question is has anyone had any luck configuring clojure-lsp for vim-ale?

ericdallo11:04:53

I don't, but maybe you will have more luck asking on #C0DF8R51A

lispyclouds11:04:21

@U032EFN0T33 im more of a neovim user and since ALE https://github.com/dense-analysis/ale/tree/master/ale_linters/clojure to have inbuilt support for clojure-lsp, maybe following the options mentioned in this https://github.com/dense-analysis/ale/issues/2641 helps?

lispyclouds11:04:32

I believe https://github.com/prabirshrestha/vim-lsp is the more purpose built plugin for lsps in vim

James Amberger16:04:46

Ok, got it running with <https://github.com/yegappan/lsp>, may go back and try to make it work with ALE and if I succeed I will report here. Playing around for the first time, i get warnings for all DOM interop like js/window.addEventListener , is that expected?

ericdallo11:04:56

clojure-lsp Released clojure-lsp https://github.com/clojure-lsp/clojure-lsp/releases/tag/2024.03.31-19.10.13 fixing some bugs and supporiting a new LSP capability: foldingRange • Editor ◦ Adding require command fails for requires without alias. https://github.com/clojure-lsp/clojure-lsp/issues/1791 ◦ Add require command without alias now add requires with brackets. ◦ Project tree feature now support keyword definitions like re-frame sub/reg. https://github.com/clojure-lsp/clojure-lsp/issues/1789 ◦ Support textDocument/foldingRange LSP feature. https://github.com/clojure-lsp/clojure-lsp/issues/1602 ◦ Improve textDocument/documentSymbol considering keyword definitions and returning flatten elements. ◦ Fix Add require/import usages count in code actions. https://github.com/clojure-lsp/clojure-lsp/issues/1794.

🎉 8
clojure-lsp 3