Don't use h3 header for 'No info' message
Not sure what the point here is since there isn't anything beneath the header anyway.
This commit is contained in:
@@ -126,7 +126,7 @@ local function update_hover()
|
|||||||
end
|
end
|
||||||
markdown_lines = vim.lsp.util.trim_empty_lines(markdown_lines)
|
markdown_lines = vim.lsp.util.trim_empty_lines(markdown_lines)
|
||||||
if vim.tbl_isempty(markdown_lines) then
|
if vim.tbl_isempty(markdown_lines) then
|
||||||
markdown_lines = { '### No info available!' }
|
markdown_lines = { 'No info available' }
|
||||||
end
|
end
|
||||||
|
|
||||||
markdown_lines = vim.lsp.util.stylize_markdown(
|
markdown_lines = vim.lsp.util.stylize_markdown(
|
||||||
|
|||||||
Reference in New Issue
Block a user