improve blink.cmp perf in large directories
Some checks failed
build / build (nvim-min) (push) Failing after 3h0m1s

This commit is contained in:
iofq 2026-02-23 22:51:14 -06:00
parent e9d4373ddc
commit e5a176d5b7

View file

@ -132,12 +132,19 @@ vim.schedule(function()
default = { 'lsp', 'path', 'snippets', 'ripgrep', 'buffer' }, default = { 'lsp', 'path', 'snippets', 'ripgrep', 'buffer' },
providers = { providers = {
lsp = { fallbacks = {} }, -- include buffer even when LSP is active lsp = { fallbacks = {} }, -- include buffer even when LSP is active
path = { opts = { get_cwd = vim.fn.getcwd } }, -- use nvim pwd instead of current file pwd path = { async = true, opts = { get_cwd = vim.fn.getcwd } }, -- use nvim pwd instead of current file pwd
ripgrep = { ripgrep = {
enabled = false,
module = 'blink-ripgrep', module = 'blink-ripgrep',
name = 'rg', name = 'rg',
score_offset = -10, score_offset = -10,
async = true, async = true,
opts = {
project_root_marker = { '.git', '.jj' },
backend = {
use = 'gitgrep-or-ripgrep',
},
},
}, },
}, },
}, },