Explorar el Código

fix: lviminfo highlight match fix (#1316)

Pasi Bergman hace 3 años
padre
commit
9c9bcb1e0a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lua/core/info.lua

+ 1 - 1
lua/core/info.lua

@@ -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