feat(lsp.util): remove uneeded do-end

This commit is contained in:
Lewis Russell
2024-10-16 09:48:27 +01:00
parent 1edfe5c09e
commit 5bec7288a5

View File

@ -1238,7 +1238,7 @@ function M.stylize_markdown(bufnr, contents, opts)
local highlights = {} --- @type {ft:string,start:integer,finish:integer}[]
-- keep track of lnums that contain markdown
local markdown_lines = {} --- @type table<integer,boolean>
do
local i = 1
while i <= #contents do
local line = contents[i]
@ -1290,7 +1290,6 @@ function M.stylize_markdown(bufnr, contents, opts)
i = i + 1
end
end
end
-- Handle some common html escape sequences
--- @type string[]