|
9 | 9 |
|
10 | 10 |
|
11 | 11 | Author: Nate Kane <nathanaelkane AT gmail DOT com>
|
12 |
| -Version: 1.5 (pending release) |
13 |
| -Last Change: 21 Feb 2011 |
| 12 | +Version: 1.5 |
| 13 | +Last Change: 13 Mar 2011 |
14 | 14 |
|
15 | 15 | ==============================================================================
|
16 | 16 | CONTENTS *indent-guides-contents*
|
@@ -41,6 +41,7 @@ Features:~
|
41 | 41 | though).
|
42 | 42 | * Customizable size for indent guides, eg. skinny guides (soft-tabs only).
|
43 | 43 | * Customizable start indent level.
|
| 44 | + * Highlight support for files with a mixture of tab and space indent styles. |
44 | 45 |
|
45 | 46 | ==============================================================================
|
46 | 47 | 2. COMMANDS *indent-guides-commands*
|
@@ -90,6 +91,12 @@ in an autocmd.
|
90 | 91 | autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
|
91 | 92 | <
|
92 | 93 |
|
| 94 | +Alternatively you can add the following lines to your colorscheme file. |
| 95 | +> |
| 96 | + hi IndentGuidesOdd guibg=red ctermbg=3 |
| 97 | + hi IndentGuidesEven guibg=green ctermbg=4 |
| 98 | +< |
| 99 | + |
93 | 100 | ------------------------------------------------------------------------------
|
94 | 101 | *'indent_guides_color_change_percent'*
|
95 | 102 | Use this option to control the percent at which the highlight colors will be
|
@@ -162,15 +169,15 @@ preset colors are used depending on whether `background` is set to `dark` or
|
162 | 169 | When `set background=dark` is used, the following highlight colors will be
|
163 | 170 | defined:
|
164 | 171 | >
|
165 |
| - hi IndentGuidesEven ctermbg=darkgrey |
166 | 172 | hi IndentGuidesOdd ctermbg=black
|
| 173 | + hi IndentGuidesEven ctermbg=darkgrey |
167 | 174 | <
|
168 | 175 |
|
169 | 176 | Alternatively, when `set background=light` is used, the following highlight
|
170 | 177 | colors will be defined:
|
171 | 178 | >
|
172 |
| - hi IndentGuidesEven ctermbg=lightgrey |
173 | 179 | hi IndentGuidesOdd ctermbg=white
|
| 180 | + hi IndentGuidesEven ctermbg=lightgrey |
174 | 181 | <
|
175 | 182 |
|
176 | 183 | If for some reason it's incorrectly defining light highlight colors instead of
|
@@ -212,15 +219,14 @@ Bug reports, feedback, suggestions etc are welcomed.
|
212 | 219 | ==============================================================================
|
213 | 220 | 7. CHANGELOG *indent-guides-changelog*
|
214 | 221 |
|
215 |
| -1.5 (pending release)~ |
216 |
| - * Added highlight support for files with a mixture of soft-tabs and hard- |
217 |
| - tabs (thanks to graywh). |
| 222 | +1.5~ |
| 223 | + * Added highlight support for files with a mixture of tab and space indent |
| 224 | + styles (thanks graywh). |
218 | 225 | * Added -bar to all the :commands so they can chain with other :commands
|
219 | 226 | (thanks to graywh).
|
220 |
| - * No longer overriding pre-defined custom highlight colors (thanks to |
221 |
| - graywh). |
| 227 | + * No longer overriding pre-defined custom highlight colors (thanks graywh). |
222 | 228 | * Using str2float to work around a float bug in some versions of Vim 7.2
|
223 |
| - (thanks to voidus). |
| 229 | + (thanks voidus). |
224 | 230 |
|
225 | 231 | 1.4~
|
226 | 232 | * Added the new plugin option g:|indent_guides_enable_on_vim_startup|.
|
|
0 commit comments