News for hackers. Stuff that matters.
Re:Telescope.nvim: Find, Filter, Preview, Pick by varbhat on Saturday May 15, 2021 @05:09AM (#27163624)
Neovim 0.5 is awesome. It has native LSP support, Lua configuration support that it feels like true revolution over past versions.

But, getting into optimal setup in neovim/vim involves lot of configuration. Here is mine if you want to refer:

https://github.com/varbhat/dotfiles/tree/main/dot_config/nvi...

Re:Telescope.nvim: Find, Filter, Preview, Pick by jitl on Saturday May 15, 2021 @05:23AM (#27163686)
I’ve been meaning to convert my config to Lua. I haven’t tried out the official LSP support; I’ve been using coc.vim (https://github.com/neoclide/coc.nvim) which supports most of the VSCode plug-in API. Have you tried both? Curious how 0.5’s LSP implementation works for Typescript.

(My config is much simpler, a single vim script file: https://github.com/justjake/Dotfiles/blob/new/config/nvim/in...)

Re:Telescope.nvim: Find, Filter, Preview, Pick by varbhat on Saturday May 15, 2021 @05:28AM (#27163705)
Official LSP is lightweight, much faster imo. You can try Typescript's tsserver with neovim-lsp .
Re:Telescope.nvim: Find, Filter, Preview, Pick by maddyboo on Saturday May 15, 2021 @09:22AM (#27164962)
I’m glad to hear that.

I’d heard a lot of good things about coc.nvim so I recently switched to it from languageclient-neovim. I have to say I am not very impressed. I don’t care for the configuration format, it’s not as flexible as I’d like, I don’t like installing npm packages to configure language servers that I already have installed, and it just generally feels sloppy.

I guess I’m going to need to break my LSP config yet again as I migrate over to the native client. Hopefully this is the last time…

Re:Telescope.nvim: Find, Filter, Preview, Pick by lawn on Saturday May 15, 2021 @09:39AM (#27165109)
That was my experience with coc as well. After getting over the initial configuration native LSP has been working great.

Also, you can use telescope to search for LSD definitions, references etc.

Re:Telescope.nvim: Find, Filter, Preview, Pick by afarrell on Saturday May 15, 2021 @10:54AM (#27165723)
I’ve found lunarvim to be another good config baseline: https://github.com/ChristianChiarulli/LunarVim

Explained here: https://youtu.be/Qm864kVxAss

Re:Telescope.nvim: Find, Filter, Preview, Pick by csomar on Sunday May 16, 2021 @05:01AM (#27172310)
> LSP support

This one is quite underrated. Code highlighting, formatting, auto-completion and syntax checks. Doing that on old Vim was a time consuming task and usually something doesn't work, is missing or regularly breaks.

Since I started using coc.vim with neovim, it's as good as VSCode.