mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-07 04:34:26 +08:00
update doc and readme
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user