LazyVim.LazyVim/lua/lazyvim/plugins
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
..
compat fix(extras): better reasons as to why some extras are included in your config. 2024-06-14 11:14:00 +02:00
extras feat(extras.ai): blink.cmp integration and kind overrides for menu drawing (#4942) 2024-12-03 21:06:58 +01:00
lsp fix(lsp): don't leak keymaps from LSP server configs (#4849) 2024-11-25 14:59:55 +01:00
coding.lua fix(lazydev): use luals' bundled luv library 2024-11-24 23:03:03 +01:00
colorscheme.lua feat(colorscheme): enable catppuccin snacks integration by default (#4882) 2024-11-24 17:28:26 +01:00
editor.lua feat(core)!: move a bunch of LazyVim features to snacks.nvim (#4706) 2024-11-07 15:54:47 +01:00
formatting.lua fix(conform): changes for new conform.nvim config 2024-07-20 17:14:07 +02:00
init.lua feat(snacks): added leader-. to toggle a scratch buffer. Uses count for new scratch buffers 2024-12-01 09:31:26 +01:00
linting.lua fix(lint): make prepend_args opt work when default args is empty (#3828) 2024-06-27 17:31:11 +02:00
treesitter.lua feat(keymaps): dynamic which-key icons/descriptions for toggles (#4050) 2024-07-15 15:47:44 +02:00
ui.lua fix(ui): disable indent-blankline on ft=snacks_dashboard (#4895) 2024-11-26 22:39:05 +01:00
util.lua feat(persistence): added leader-qS to select a session 2024-08-31 09:27:14 +02:00
xtras.lua feat(vscode): automatically enable the vscode extra when running in vscode 2024-11-16 07:35:47 +01:00