Skip to content

Commit bf96ca3

Browse files
authored
feat(completion): add blink.cmp (#1235)
1 parent 8b024ad commit bf96ca3

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Blink Completion (blink.cmp)
2+
3+
Performant, batteries-included completion plugin for Neovim
4+
5+
**Repository:** <https://github.com/Saghen/blink.cmp>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
return {
2+
"Saghen/blink.cmp",
3+
event = "InsertEnter",
4+
version = "v0.*",
5+
dependencies = { "rafamadriz/friendly-snippets" },
6+
opts = {
7+
keymap = {
8+
show = { "<C-Space>", "<C-N>", "<C-P>" },
9+
accept = { "<Tab>", "<CR>" },
10+
select_prev = { "<Up>", "<C-P>", "<C-K>" },
11+
select_next = { "<Down>", "<C-N>", "<C-J>" },
12+
scroll_documentation_up = "<C-D>",
13+
scroll_documentation_down = "<C-U>",
14+
},
15+
windows = {
16+
autocomplete = {
17+
border = "rounded",
18+
winhighlight = "Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:PmenuSel,Search:None",
19+
},
20+
documentation = {
21+
auto_show = true,
22+
border = "rounded",
23+
winhighlight = "Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:PmenuSel,Search:None",
24+
},
25+
signature_help = {
26+
border = "rounded",
27+
winhighlight = "Normal:NormalFloat,FloatBorder:FloatBorder",
28+
},
29+
},
30+
},
31+
specs = {
32+
-- disable built in completion plugins
33+
{ "hrsh7th/nvim-cmp", enabled = false },
34+
{ "rcarriga/cmp-dap", enabled = false },
35+
{ "L3MON4D3/LuaSnip", enabled = false },
36+
{ "onsails/lspkind.nvim", enabled = false },
37+
},
38+
}

0 commit comments

Comments
 (0)