diff --git a/README.md b/README.md index f164ea8..d56d309 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,25 @@ -indentLine -========== - -This plugin is used for displaying thin vertical lines at each indentation leve for code indented with spaces. -For code indented with tabs, I think there is no need to support it, using :set list lcs=tab:\\|\ (here is a space) can -achieve it. - -## Requirements -This plugin takes advantage of newly provided conceal feature in Vim 7.3, so Vim 7.3 with conceal feature is needed. - -## Installation -To install the plugin just copy indentLine.vim into plugin directory. - - -## Setting custom line colors -For gvim, hi Conceal guifg=(color you like) guibg=NONE - -For vim, hi Conceal ctermfg=(color you like) ctermbg=NONE - -## Screenshots - - - - - +indentLine +========== + +This plugin is used for displaying thin vertical lines at each indentation leve for code indented with spaces. +For code indented with tabs, I think there is no need to support it, using :set list lcs=tab:\\|\ (here is a space) can +achieve it. + +## Requirements +This plugin takes advantage of newly provided conceal feature in Vim 7.3, so Vim 7.3 with conceal feature is needed. + +## Installation +To install the plugin just copy indentLine.vim into plugin directory. + + +## Setting custom line colors +For gvim, hi Conceal guifg=(color you like) guibg=NONE + +For vim, hi Conceal ctermfg=(color you like) ctermbg=NONE + +## Screenshots + + + + + diff --git a/indentLine.vim b/indentLine.vim index 2bc6a28..6c0248a 100644 --- a/indentLine.vim +++ b/indentLine.vim @@ -15,9 +15,9 @@ set concealcursor=inc function! InitColor() if &bg == 'light' - hi Conceal ctermfg=7 ctermbg=NONE guifg=Gray guibg=NONE + hi Conceal ctermfg=7 ctermbg=NONE guifg=Grey guibg=NONE else - hi Conceal ctermfg=8 ctermbg=NONE guifg=DarkGray guibg=NONE + hi Conceal ctermfg=8 ctermbg=NONE guifg=Grey40 guibg=NONE endif endfunction