Skip to content

Commit ad44148

Browse files
feat: Add blink.cmp completion source (#264)
* feat: Add Codeium Toggle command Add possibility to enable/disable Codeium completion * chore: refactor api module simplify Server implementation by using OOP style. Now it's better work with LSPs * feat: Add blink.cmp completion source * update blink support for the latest version add kind_icon
1 parent 9569c90 commit ad44148

File tree

6 files changed

+596
-333
lines changed

6 files changed

+596
-333
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ your browser and pasting it into API token request.
7171
To use Windsurf Chat, execute the `:Codeium Chat` command. The chat will be opened
7272
in your default browser using the xdg-open command.
7373

74+
You can globaly enable or disable Codeium Completion with `:Codeium Toggle` command.
75+
7476
## Options
7577

7678
- `config_path`: the path to the config file, used to store the API key.
@@ -151,6 +153,29 @@ cmp.setup({
151153
})
152154
```
153155

156+
### blink.cmp
157+
158+
Configuration example for [blink.cmp](https://github.com/Saghen/blink.cmp):
159+
160+
```lua
161+
{
162+
'saghen/blink.cmp',
163+
dependencies = {
164+
{
165+
'Exafunction/codeium.nvim',
166+
},
167+
},
168+
opts = {
169+
sources = {
170+
default = { 'lsp', 'path', 'snippets', 'buffer', 'codeium' },
171+
providers = {
172+
codeium = { name = 'Codeium', module = 'codeium.blink', async = true },
173+
},
174+
},
175+
},
176+
}
177+
```
178+
154179
### Virtual Text
155180

156181
The plugin supports showing completions in virtual text. Set `virtual_text.enabled` in the options to `true` to enable it.

0 commit comments

Comments
 (0)