We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88da6a commit 160b687Copy full SHA for 160b687
lua/blink/cmp/lib/utils.lua
@@ -62,7 +62,7 @@ function utils.get_regex_around_cursor(range, regex, exclude_from_prefix_regex)
62
63
-- Search forward for the end of the word if configured
64
if range == 'full' then
65
- while start_col + length < #line do
+ while start_col + length <= #line do
66
local col = start_col + length
67
local char = line:sub(col, col)
68
if char:match(regex) == nil then break end
0 commit comments