From eb4ae8a34095df94eb464f610accdaedf183a8d0 Mon Sep 17 00:00:00 2001 From: Yggdroot Date: Mon, 7 Jan 2013 16:28:09 +0800 Subject: [PATCH] =?UTF-8?q?change=20default=20indentLine=20char=20to=20"?= =?UTF-8?q?=C2=A6"=20if=20encoding=20is=20utf-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- after/plugin/indentLine.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 50185a3..627e18a 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -1,6 +1,6 @@ " Script Name: indentLine.vim -" Version: 1.0.2 -" Last Change: Dec 22, 2012 +" Version: 1.0.3 +" Last Change: Dec 25, 2012 " Author: Yggdroot " " Description: To show the indent line @@ -12,7 +12,11 @@ let g:loaded_indentLine = 1 if !exists("g:indentLine_char") " | ¦ ┆ │ - let g:indentLine_char = "|" + if &encoding ==? "utf-8" + let g:indentLine_char = "¦" + else + let g:indentLine_char = "|" + endif endif if !exists("g:indentLine_indentLevel") @@ -35,7 +39,7 @@ function! InitColor() if !exists("g:indentLine_color_gui") if &bg ==? "light" - let gui_color = "Grey" + let gui_color = "Grey65" else let gui_color = "Grey40" endif