Fixed +1 -1 in util.lua (#14913)

No point in adding and then subtracting I believe ;)
This commit is contained in:
jimman2003 authored and GitHub committed 2021-06-26 13:43:18 -04:00
1 parent bb4fc69e93
commit bdf3df4027
1 file changed
+1 -1
+1 -1
View File
@@ -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)