Skip to content

Commit 5882158

Browse files
committed
feat(cmp.blink): update config
1 parent d01a413 commit 5882158

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

lua/modules/configs/completion/blink.lua

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -183,23 +183,6 @@ local opts = {
183183
show_documentation = true,
184184
},
185185
},
186-
-- fuzzy = {
187-
-- implementation = "prefer_rust_with_warning",
188-
-- -- Set this to 0 to match the behavior of fzf
189-
-- max_typos = function(keyword)
190-
-- return math.floor(#keyword / 4)
191-
-- end,
192-
-- use_frecency = true,
193-
-- use_proximity = true,
194-
-- sorts = {
195-
-- "score",
196-
-- "sort_text",
197-
-- },
198-
-- prebuilt_binaries = {
199-
-- download = true,
200-
-- ignore_version_mismatch = false,
201-
-- },
202-
-- },
203186
}
204187

205188
return function()

lua/modules/configs/completion/lsp.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ return function()
33
require("completion.mason").setup()
44
require("completion.mason-lspconfig").setup()
55

6+
local capabilities = vim.lsp.protocol.make_client_capabilities()
67
local opts = {
7-
capabilities = require("blink.cmp").get_lsp_capabilities(),
8+
capabilities = vim.tbl_deep_extend("force", capabilities, require("blink.cmp").get_lsp_capabilities({}, false)),
89
}
910
-- Setup lsps that are not supported by `mason.nvim` but supported by `nvim-lspconfig` here.
1011
if vim.fn.executable("dart") == 1 then

0 commit comments

Comments
 (0)