Skip to content

Commit 24b4d35

Browse files
committed
feat: temporarily disable markdown combining
Issues with basedpyright and likely others since some LSPs don't ship valid markdown
1 parent 6516736 commit 24b4d35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/blink/cmp/windows/lib/docs.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ function docs.render_detail_and_documentation(bufnr, detail, documentation, max_
1111
if documentation ~= nil then
1212
local doc = type(documentation) == 'string' and documentation or documentation.value
1313
doc_lines = docs.split_lines(doc)
14-
if type(documentation) ~= 'string' and documentation.kind == 'markdown' then
15-
-- if the rendering seems bugged, it's likely due to this function
16-
doc_lines = docs.combine_markdown_lines(doc_lines)
17-
end
14+
-- if type(documentation) ~= 'string' and documentation.kind == 'markdown' then
15+
-- -- if the rendering seems bugged, it's likely due to this function
16+
-- doc_lines = docs.combine_markdown_lines(doc_lines)
17+
-- end
1818
end
1919

2020
detail_lines, doc_lines = docs.extract_detail_from_doc(detail_lines, doc_lines)

0 commit comments

Comments
 (0)