this post was submitted on 22 Jun 2025
9 points (90.9% liked)

Neovim

2507 readers
1 users here now

founded 2 years ago
MODERATORS
 

While LLMs deliver at times questionable quality of code, they can be none the less helpful to give feedback, explain syntax or high level concepts. I was wondering how people are integrating them in neovim. How are you using LLMs? Is it worth thinking about a setup?

top 5 comments
sorted by: hot top controversial new old
[–] glitchcake@piefed.blahaj.zone 1 points 2 days ago
[–] gid@lemmy.blahaj.zone 3 points 4 days ago

I've used gen.nvim and codecompanion.nvim, both with a local ollama server running.

I think gen.nvim was a little more straightforward to use, but in general I don't find LLM-aided coding to be that helpful to me.

[–] annoyed_onion@lemmy.world 3 points 5 days ago

I'm still a bit sceptical over LLMs but I've used copilot for line code completion for a few years now.

More recently I've started playing about with agents. I've been using avante.nvim for a couple of months with Claude and quite like it. The setup was a bit of a faff but it works quite well and has support for the more mainstream agents.

Over the last few days I've started trying out augment code which has a neovim plugin. Still on the fence about that one.

I'm no expert when it comes to any of this but this is what I've been messing about with. Hope it's useful!

[–] borokov@lemmy.world 2 points 5 days ago

I gave a try to ollama.nvim, but I'm not conviced (not by the plugin, but by using LLM directly in IDE). Because of security reasons, I cannot send code to public LLMs, so I have to either use my company's internal LLM (GPT4o), but which just have a front end, no API. Either I have to use local LLM through ollama for ex.

I tried several models, but they are to slow or too dumb. In the end, when I need help, I copy/past code into LLM portal front end.

[–] scrooge101@lemmy.ml 2 points 5 days ago

I was also sceptical, but then I started to use codecompanion.nvim with Hugging Face recently. It works quite well and can be helpful for coding.