We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bbea5d commit aeaa2e7Copy full SHA for aeaa2e7
lua/blink/cmp/windows/lib/docs.lua
@@ -196,7 +196,7 @@ function docs.extract_detail_from_doc(detail_lines, doc_lines)
196
local doc_str_detail_row = doc_str:find(detail_str, 1, true)
197
198
-- didn't find the detail in the doc, so return as is
199
- if doc_str_detail_row == nil then
+ if doc_str_detail_row == nil or #detail_str == 0 or #doc_str == 0 then
200
return detail_lines, doc_lines
201
end
202
0 commit comments