Skip to content

Commit 5209af5

Browse files
committed
fix: :BlinkCmp build working directory
1 parent 636b79d commit 5209af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/blink/cmp/fuzzy/build/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ local build = {}
88
--- @return string
99
local function get_project_root()
1010
local current_file = debug.getinfo(1, 'S').source:sub(2)
11-
-- Go up from lua/blink.cmp/fuzzy/build.lua to the project root
12-
return vim.fn.fnamemodify(current_file, ':p:h:h:h:h:h')
11+
-- Go up from lua/blink.cmp/fuzzy/build/init.lua to the project root
12+
return vim.fn.fnamemodify(current_file, ':p:h:h:h:h:h:h')
1313
end
1414

1515
--- @param cmd string[]

0 commit comments

Comments
 (0)