Skip to content

Commit

Permalink
fix: always set completion context
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Oct 30, 2024
1 parent adf1497 commit 4987607
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/care/sources.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ function care_sources.complete(context, source, callback)

callback(require("care.matcher").match(source.entries, prefix))
return
else
completion_context = {
triggerKind = 3,
}
end
elseif context.reason == 3 then
if vim.tbl_contains(source:get_trigger_characters(), last_char) then
Expand Down

0 comments on commit 4987607

Please sign in to comment.