Oh man I've finally gotten around to install LSP and TreeSitter, and my head is spinning... TreeSitter not so much (unless I'm missing something) but LSP is huge...
I haven't used CoC -- the Node.js and the VSCode references put me off. The built in LSP in Neovim works without any real need for plugins, which is always nice.
It would be good to share some screenshots of what our setups look like though ๐
Yeah, I misunderstood the original message, I use clojure-lsp via CoC, never tried the built in one. I think you need nvim 0.5 for that.
Is treesitter available only for neovim at the moment? I canโt find anything for vim
Treesitter is NeoVim only
I do encourage people to share the specifics of what they find useful with LSP. People share their excitement about LSP, but it's hard to understand why without very specific examples.
Itโs essentially a static analysis toolkit that plugs into your favorite editor. So I get jump to definition, documentation, auto-completion, find references etc without needing REPL, which means ClojureScript support works very nicely.
And Iโm using the same backend process as VSCode and Emacs so a rising tide lifts my boat too
yes, that's my saturday night ๐
lsp is amazing.
what's the value over CoC? I haven't installed vim-lsp as I couldn't work out what additional value it would provide
I'm getting completion from CoC, and then vim-iced gives me docs. So I guess I couldn't figure out what the real addition__ would be! :-)