Skip to content

Instantly share code, notes, and snippets.

@mattn
Created June 7, 2012 01:52
Show Gist options
  • Select an option

  • Save mattn/2886056 to your computer and use it in GitHub Desktop.

Select an option

Save mattn/2886056 to your computer and use it in GitHub Desktop.
diff -r c384f4f5f238 src/screen.c
--- a/src/screen.c Wed Jun 06 12:06:15 2012 +0200
+++ b/src/screen.c Thu Jun 07 10:52:46 2012 +0900
@@ -4577,6 +4577,13 @@
c = lcs_prec;
lcs_prec_todo = NUL;
#ifdef FEAT_MBYTE
+ if (has_mbyte && (*mb_char2cells)(mb_c) > 1)
+ {
+ c_extra = '<';
+ n_extra = 1;
+ n_attr = 2;
+ extra_attr = hl_attr(HLF_AT);
+ }
mb_c = c;
if (enc_utf8 && (*mb_char2len)(c) > 1)
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment