From 106f316dcad97df9aa05044265294a075ee8554f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 20 May 2025 18:05:36 +0200 Subject: [PATCH] path completion relative to cwd --- .config/lazyvim/lua/plugins/blink-cmp.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/lazyvim/lua/plugins/blink-cmp.lua b/.config/lazyvim/lua/plugins/blink-cmp.lua index f57bb3e..94b520c 100644 --- a/.config/lazyvim/lua/plugins/blink-cmp.lua +++ b/.config/lazyvim/lua/plugins/blink-cmp.lua @@ -2,6 +2,15 @@ return { "saghen/blink.cmp", opts = { sources = { + providers = { + path = { + opts = { + get_cwd = function(_) + return vim.fn.getcwd() + end, + }, + }, + }, }, keymap = { preset = "default", -- 2.39.5