update doc and readme

This commit is contained in:
xinleibird
2014-04-13 18:56:27 +08:00
parent 0a08712329
commit 51ac7b0b54
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ If you use a plugin manager you can put the whole directory into your `~/.vim/bu
You can change the color of indentLines:
for Vim, set `g:indentLine_color_term` in your `.vimrc`, e.g. `let g:indentLine_color_term = 239`,
for GVim, set `g:indentLine_color_gui` in your `.vimrc`, e.g. `let g:indentLine_color_gui = '#A4E57E'`
for none X terminal, set `g:indentLine_color_tty` in your `.vimrc`, e.g. `let g:indentLine_color_tty = 2
You can also change the indentLine char:
for both Vim and GVim, set `let g:indentLine_char = 'c'` where `'c'` can be any ASCII character. You can also use one of `¦`, `` or `│` to display more beautiful lines. However, these characters will only work with files whose encoding is UTF-8.

View File

@@ -46,6 +46,10 @@ g:indentLine_color_gui *g:indentLine_color_gui*
Specify GUI vim indent line color.
e.g. let g:indentLine_color_gui = '#A4E57E'
g:indentLine_color_tty *g:indentLine_color_tty*
Specify none X terminal vim indent line color. (0 - 7)
e.g. let g:indentLine_color_tty = 2
g:indentLine_indentLevel *g:indentLine_indentLevel*
Specify how much indent level do you want to use for
indentLine. Most program will not has bigger indent level than