X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.vimrc;h=7a3ca5db2d1d4149d37b1a57425fa118d4633c90;hp=956923c00efce303e8b49d8966606ecc467a9aab;hb=a8e823fa2005ab190af0461c967f353b7dbb5a51;hpb=e4d2ba0fbbda9783df9bac7ee0744a038c9f15cc diff --git a/.vimrc b/.vimrc index 956923c..7a3ca5d 100644 --- a/.vimrc +++ b/.vimrc @@ -737,7 +737,7 @@ fun! Show_List() "{{{2 elseif Has_Unicode() if w:iainlist == 1 " Just tabs. - return "»" + return "⇥" else " Full list. return "¶" @@ -773,7 +773,15 @@ endfun "}}}2 " Helper for status line. " Show the size of the tabstop. fun! Show_Tabstop() "{{{2 - return &ts + if &et + return &ts + else + if Has_Unicode() + return &ts . "↹" + else + return &ts . "\\" + fi + endif endfun "}}}2 " Helper for status line. @@ -923,7 +931,7 @@ fun! Show_Space() "{{{2 if Has_Unicode() let l:ret = "▭" . l:ret . Show_SearchForward() else - let l:ret "[" . l:ret . Show_SearchForward() . "]" + let l:ret = "[" . l:ret . Show_SearchForward() . "]" endif endif return l:ret @@ -1193,7 +1201,7 @@ endfun "}}}2 fun! Cycle_List() "{{{2 " Pretty UTF-8 listchars. if Has_Unicode() - let basic='tab:»·,trail:…,extends:«,precedes:»' + let basic='tab:⇥·,trail:…,extends:«,precedes:»' let eol='eol:¶' if version >= "700" let basic=basic . ',nbsp:•'