diff --git a/integration-tests/test-environment/.config/nvim/init.lua b/integration-tests/test-environment/.config/nvim/init.lua index 3ab2581..eebe929 100644 --- a/integration-tests/test-environment/.config/nvim/init.lua +++ b/integration-tests/test-environment/.config/nvim/init.lua @@ -36,19 +36,21 @@ local plugins = { "saghen/blink.cmp", event = "VeryLazy", -- use a release tag to download pre-built binaries - version = "v0.*", + -- https://github.com/Saghen/blink.cmp/releases + version = "v0.8.0", -- to (locally) track nightly builds, use the following: + -- version = false, -- dir = "/Users/mikavilpas/git/blink.cmp/", + -- build = "cargo build --release", + ---@module 'blink.cmp' ---@type blink.cmp.Config opts = { sources = { - completion = { - enabled_providers = { - "buffer", - "ripgrep", - }, + default = { + "buffer", + "ripgrep", }, providers = { ripgrep = { @@ -62,18 +64,6 @@ local plugins = { }, }, }, - -- configuration for the stable version of blink - windows = { - autocomplete = { - max_height = 25, - }, - documentation = { - auto_show = true, - auto_show_delay_ms = 0, - -- file names need to fit the screen when testing - max_width = 200, - }, - }, -- 2024-11-28 configuration for the nightly version of blink. mikavilpas -- uses this for local development, but currently ci uses the stable @@ -95,6 +85,13 @@ local plugins = { max_height = 25, }, }, + keymap = { + [""] = { + function() + require("blink-cmp").show({ providers = { "ripgrep" } }) + end, + }, + }, }, }, {