mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-23 04:11:27 +08:00
Update README.md
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
indentLine
|
indentLine
|
||||||
==========
|
==========
|
||||||
|
|
||||||
@@ -10,8 +9,7 @@ achieve it.
|
|||||||
This plugin takes advantage of newly provided conceal feature in Vim 7.3, so Vim 7.3 with conceal feature is needed.
|
This plugin takes advantage of newly provided conceal feature in Vim 7.3, so Vim 7.3 with conceal feature is needed.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
To install the plugin just copy indentLine.vim into plugin directory.
|
To install the plugin just put plugin files in your ~/.vim (linux) or ~/vimfiles (Windows).
|
||||||
|
|
||||||
|
|
||||||
## Setting custom line colors
|
## Setting custom line colors
|
||||||
For gvim, hi Conceal guifg=(color you like) guibg=NONE
|
For gvim, hi Conceal guifg=(color you like) guibg=NONE
|
||||||
@@ -19,8 +17,7 @@ For gvim, hi Conceal guifg=(color you like) guibg=NONE
|
|||||||
For vim, hi Conceal ctermfg=(color you like) ctermbg=NONE
|
For vim, hi Conceal ctermfg=(color you like) ctermbg=NONE
|
||||||
|
|
||||||
You can change indentline char by youself.
|
You can change indentline char by youself.
|
||||||
change this variable:
|
change this variable: let g:indentLine_char = 'c'
|
||||||
let g:indentLine_char = 'c'
|
|
||||||
'c' can be any ascii character you like, you can also use '¦', '┆' to display more beautiful lines,
|
'c' can be any ascii character you like, you can also use '¦', '┆' to display more beautiful lines,
|
||||||
but this only aplies to file whose encoding is utf-8
|
but this only aplies to file whose encoding is utf-8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user