Skip to content

Commit 80eff03

Browse files
committed
fix(inline_func): allways parse all buffers
1 parent 5a788c2 commit 80eff03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/refactoring/refactor/inline_func.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ local function get_processed_match_info(definitions, references, lang)
5252
vim.notify(err2, vim.log.levels.ERROR)
5353
return
5454
end
55+
lang_tree:parse(true)
5556

5657
local functions_info = {} ---@type refactor.FunctionInfo[]
5758
local returns_info = {} ---@type refactor.ReturnInfo[]

0 commit comments

Comments
 (0)