Skip to content

Commit

Permalink
lsp.CompletionItem.documentation is string, not string[]
Browse files Browse the repository at this point in the history
close #61
  • Loading branch information
uga-rosa committed Jan 28, 2024
1 parent 472d008 commit ff71588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_dictionary/source.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function source.resolve(_, item, callback)
return c:gsub("${label}", item.label)
end, opts.document.command)
local result = util.system(command)
item.documentation = result
item.documentation = table.concat(result, "\n")
end
callback(item)
end
Expand Down

0 comments on commit ff71588

Please sign in to comment.