fix: lviminfo highlight match fix (#1316)

This commit is contained in:
Pasi Bergman 2021-08-14 14:43:48 +03:00 committed by GitHub
parent 70d139ac27
commit 9c9bcb1e0a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ local function tbl_set_highlight(terms, highlight_group)
end
for _, v in pairs(terms) do
vim.cmd('let m=matchadd("' .. highlight_group .. '", "' .. v .. '")')
vim.cmd('let m=matchadd("' .. highlight_group .. '", "' .. v .. "[ ,│']\")")
end
end