Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Jan 18, 2025
1 parent cfe0fdb commit 127358d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/internal/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ function server.create()
end

local triggerchar = line:sub(position.character, position.character)
if #triggerchar > 0 and not triggerchar:find('%w') then
return
end
if triggerchar ~= '/' then
local items = collect_buffer_words(root_name, filename, triggerchar)
schedule_result(callback, items)
Expand Down

0 comments on commit 127358d

Please sign in to comment.