Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Nov 27, 2024
1 parent aaafb4a commit 1f3e9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/completion/accept/prefix.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function get_prefix_before_brackets_and_quotes(text)
has_alphanumeric = has_alphanumeric or ALPHANUMERIC[char]
elseif not has_alphanumeric or #closing_pairs_stack ~= 0 then
add(char)
-- if we had an alphanumeric, and the closing pairs stuck *just* emptied,
-- if we had an alphanumeric, and the closing pairs stack *just* emptied,
-- because the current character is a closing pair, we exit
if has_alphanumeric and #closing_pairs_stack == 0 then break end
else
Expand Down

0 comments on commit 1f3e9a6

Please sign in to comment.