LazyVim.LazyVim/lua/lazyvim/plugins/extras/coding
Stefan Boca f841ecf6bd
feat(extras.ai): blink.cmp integration and kind overrides for menu drawing (#4942)
## Description

blink.cmp integration for codeium and copilot, and correct menu drawing
for codeium, copilot, and supermaven.

I've simplified the blink.cmp config a bit for these extras (especially
for copilot, which was extremely nested) by only including the blink.cmp
spec if vim.g.ai_cmp is true.

Multiple AI extras can now be enabled at the same time with blink.cmp.

blink.cmp ghost text is now always enabled. Although some ai plugins
always display virtual text, at worst it overlaps with blink's ghost
text and is not noticable.

Lastly, I can't test copilot because I don't have a subscription, nor do
I want to sign up for one, but it should work just as well as the
others.

## Screenshots

With Codeium:

![image](https://github.com/user-attachments/assets/1485ee3f-1cba-440f-8a82-ec69b4a3f473)

Multiple extras enabled at the same time:

![image](https://github.com/user-attachments/assets/4364ee45-d79b-4f97-a4c0-cf2a2b6433c6)

## Checklist

- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-12-03 21:06:58 +01:00
..
blink.lua feat(extras.ai): blink.cmp integration and kind overrides for menu drawing (#4942) 2024-12-03 21:06:58 +01:00
luasnip.lua fix(blink): fixed luasnip completions for blink 2024-11-28 07:39:30 +01:00
mini-comment.lua feat(comments): use ts-comments.nvim instead of nvim-ts-context-commentstring on Neovim 0.10 2024-05-21 19:31:40 +02:00
mini-surround.lua feat(extras): tags some extras as recommended 2024-05-18 14:12:26 +02:00
neogen.lua feat(extras): added extra for neogen. Closes #2881 2024-06-06 13:14:04 +02:00
yanky.lua fix(yanky): enable yank history in visual mode (#4048) 2024-07-15 11:48:58 +02:00