Skip to content

Commit 177be29

Browse files
authored
fix(vue_ls): nil references in tsserverRequest #3977
1 parent 4d3b3bb commit 177be29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp/vue_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ return {
4141
payload,
4242
},
4343
}, { bufnr = context.bufnr }, function(_, r)
44-
local response_data = { { id, r.body } }
44+
local response_data = { { id, r and r.body } }
4545
---@diagnostic disable-next-line: param-type-mismatch
4646
client:notify('tsserver/response', response_data)
4747
end)

0 commit comments

Comments
 (0)