mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(lsp): render the last line in stylize_markdown
This commit is contained in:
@@ -1237,7 +1237,7 @@ function M.stylize_markdown(bufnr, contents, opts)
|
||||
apply_syntax_to_region(h.ft, h.start, h.finish)
|
||||
last = h.finish + 1
|
||||
end
|
||||
if last < #stripped then
|
||||
if last <= #stripped then
|
||||
apply_syntax_to_region("lsp_markdown", last, #stripped)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user