Skip to content

Commit 52a8138

Browse files
committed
add blink.cmp (wip) 🚧
1 parent 7b279f2 commit 52a8138

File tree

5 files changed

+29
-118
lines changed

5 files changed

+29
-118
lines changed

nvim/lua/plugins/blinkcmp.lua

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
return {
2+
"saghen/blink.cmp",
3+
-- dev = true,
4+
lazy = false,
5+
dependencies = "rafamadriz/friendly-snippets",
6+
build = "cargo build --release",
7+
config = function()
8+
require("blink.cmp").setup({
9+
keymap = {
10+
accept = "<C-y>",
11+
select_next = "<C-n>",
12+
},
13+
windows = {
14+
autocomplete = { border = "rounded", draw = "reversed" },
15+
documentation = { border = "rounded", auto_show = true },
16+
signature_help = { border = "rounded" },
17+
},
18+
fuzzy = {
19+
use_frecency = false,
20+
use_proximity = false,
21+
sorts = {},
22+
},
23+
})
24+
end,
25+
}

nvim/lua/plugins/copilot-chat.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ return {
3838
},
3939
},
4040
config = function()
41-
require("CopilotChat.integrations.cmp").setup()
41+
-- TODO: add blink.cmp integration when/if it's available
42+
-- require("CopilotChat.integrations.cmp").setup()
4243
vim.api.nvim_create_autocmd("BufEnter", {
4344
pattern = "copilot-chat",
4445
callback = function()

nvim/lua/plugins/lspconfig.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ return {
1414
"Bilal2453/luvit-meta",
1515
"williamboman/mason.nvim",
1616
"williamboman/mason-lspconfig.nvim",
17-
"hrsh7th/cmp-nvim-lsp",
1817
"smiteshp/nvim-navic",
1918
},
2019
config = function()

nvim/lua/plugins/nvim-cmp.lua

Lines changed: 0 additions & 115 deletions
This file was deleted.

nvim/lua/plugins/obsidian.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ return {
2828
},
2929
opts = {
3030
attachments = { img_folder = obsidian_path .. "/Files" },
31-
completion = { nvim_cmp = true },
31+
-- TODO: add blink.cmp integration when/if it's available
32+
-- completion = { nvim_cmp = true },
3233
disable_frontmatter = true,
3334
new_notes_location = "notes_subdir",
3435
notes_subdir = "Zettelkasten",

0 commit comments

Comments
 (0)