Commits

ZyX_I committed df36981

Fixed textdisplaywidth call

Comments (0)

Files changed (1)

autoload/ansi_esc_echo.vim

 "▶2 Tab
 function s:ctl.x09(lines)
     call s:F.addtext(a:lines,
-                \    repeat(' ', 8-s:F.textdisplaywidth(a:lines.text)/8))
+                \    repeat(' ', 8-s:F.textdisplaywidth(a:lines)/8))
 endfunction
 "▶2 New line
 function s:ctl.x0A(lines)
     endfor
     echohl None
 endfunction
-"▶1 echom
+"▶1 echo
 let s:csi_start="\e["
 let s:seq_reg='(\e\[?\??#?[0-9;]*[a-zA-Z@=>]|'.
             \  '\e\]\d;.{-}\x07|'.