Skip to content

Commit

Permalink
Merge branch 'master' into feature/221-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KostkaBrukowa committed Nov 20, 2024
2 parents c119df7 + 1edc5dc commit 10e003b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local function calculate_member_completion_context(body, params)
if body.isMemberCompletion then
local line =
vim.api.nvim_buf_get_lines(0, params.position.line, params.position.line + 1, false)[1]
local dotAccessText = string.match(line:sub(1, params.position.character), "%??%.s*$") or nil
local dotAccessText = string.match(line:sub(1, params.position.character), "%??%.$") or nil
if dotAccessText then
local startPosition = {
line = params.position.line,
Expand Down

0 comments on commit 10e003b

Please sign in to comment.