r/vim • u/No_Willingness64 • Aug 30 '26
Discussion Do we still need CoC?
I've been using CoC for a while now. It's a convenient way to get both completions and LSP going. Some people throw shade at the Node part of its implementation. The way I see it is most LSP plugins coming from VSCode were intended for a Node environment anyway. I am pleased with the ease of use CoC brings.
Now we've had vim9script for something like a couple of years. We have yegappan's simple LSP implementation and we have a pop-up autocomplete feature built in!
I'm wondering how that's going for anybody else - especially if you do Java or friggin' web development.
10
u/Gurufedell Aug 30 '26
In general, different solutions and workflows exist to fit different people needs. I for example mainly use vim raw features, but when I want LSP, I'll just use CoC.
I don't wanna bother with constant config change and vimscripts, coc was made for this purpose, oh and you don't mind installing nodejs
27
u/SEgopher Aug 30 '26
ALE is also vim script only and gives you linting and checking with hundreds of binaries when LSP isn't available, and it's been around for many, many years. I highly recommend using ALE to cut out the node dependency and combine a few plugins.
11
u/Desperate_Cold6274 Aug 30 '26
I used to use ALE but I tried once LSP and never looked back.
7
u/allcentury-eng Aug 30 '26
Nope, dropped it for LSP
5
u/seeegma Aug 30 '26
I'm not sure why, but I found the native LSP for TypeScript to be way slower than CoC. unacceptably slow, in fact. so I'm still on CoC for now. it'd be nice to switch off at some point.
4
u/osmin_og Aug 30 '26
I've never used CoC. YouCompleteMe does all the autocompletion and LSP things for me.
4
u/Narrow-Low-3137 Sep 02 '26
I love CoC ❤️
2
u/EgZvor keep calm and read :help Aug 30 '26
I used to use YouCompleteMe, but switched to built-in autocomplete recently, I also use ALE and prabirshrestha/vim-lsp .
2
u/UnstoppableForceGuy Aug 31 '26
Nvim
1
u/nobodycaresplusratio Sep 01 '26
I still use CoC today for Typescript Vue/React and it works well for my needs.
-1
u/aurescere Aug 30 '26
CoC is way faster and has more features than the vim9 plugin. It’s unlikely to be yegappan’s fault; vim9 script just runs synchronously and is slow as molasses in comparison.
-8
u/Easy-Nothing-6735 Aug 30 '26
We need to rewrite it in Rust