mirror of
https://github.com/neovim/neovim
synced 2025-07-27 17:02:14 +00:00
feat(lsp.util): remove uneeded do-end
This commit is contained in:
@ -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[]
|
||||
|
Reference in New Issue
Block a user