mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Fixed +1 -1 in util.lua (#14913)
No point in adding and then subtracting I believe ;)
This commit is contained in:
@@ -1153,7 +1153,7 @@ function M.stylize_markdown(bufnr, contents, opts)
|
||||
table.insert(highlights, {
|
||||
ft = match.ft;
|
||||
start = start + 1;
|
||||
finish = #stripped + 1 - 1;
|
||||
finish = #stripped;
|
||||
})
|
||||
else
|
||||
table.insert(stripped, line)
|
||||
|
||||
Reference in New Issue
Block a user