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