Skip to content

Commit c0183df

Browse files
authored
fix(lsp): codeActions not found if multiple clients are active (#749)
1 parent e254aa1 commit c0183df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rustaceanvim/commands/code_action_group.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ local function on_code_action_results(results, ctx)
126126

127127
---@type rustaceanvim.CodeActionItem[]
128128
local action_items = {}
129-
for _, result in ipairs(results) do
129+
for _, result in pairs(results) do
130130
for _, action in ipairs(result.result or {}) do
131131
table.insert(action_items, { action = action, ctx = ctx })
132132
end

0 commit comments

Comments
 (0)