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:
hedy
2023-11-01 15:37:17 +08:00
parent f7fc1905a4
commit 782e7cb18b

View File

@@ -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(