this post was submitted on 21 Jul 2023
21 points (100.0% liked)
Neovim
2125 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hi there, glad to see new users. I would recommend using LSP instead of Coc if your language is supported. A good starting point could be with Lsp-Zero plugin, it can be used with some dependencies and you can customize to your liking. A bit of a steep learning curve maybe, but the result is worth the effort. Also, using Packer for plugin management might be a good alternative, and learning lua in the process. I finally converted my vim config into Lua, I can send a link to my repo if you want to take some inspiration.
I might want to see your repo for sure !
Is it better to use Lua for the config ? I feel Vimscript is kinda old school way but there is more ressource on the internet.
Also, why do you recommend LSP instead of CoC ?
Not op; I don't use LSPZero but the built in support with lsp-installer. I like to think I've organized my repo decently well so hopefully it can help you out: repo
I used to use CoC a looong time ago so I don't know if this has changed since but I've heard LSP is faster than CoC and has better support since it's the defacto standard for neovim (and built in). Additionally it uses the same binaries used by something like vscode for the analysis so it's part of a larger ecosystem that will get support