mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
Merge pull request #139 from Ps-Pencil/introduce-conceal
Introduce conceal and fix typo
This commit is contained in:
@@ -35,6 +35,15 @@ 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.
|
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.
|
||||||
|
|
||||||
|
**Change Conceal Behaviour**
|
||||||
|
|
||||||
|
Vim 7.3 has a new feature `conceal` [Documentation](http://vimdoc.sourceforge.net/htmldoc/version7.html#new-conceal) to automatically hide a stretch of text based on syntax highlighting.
|
||||||
|
|
||||||
|
```
|
||||||
|
let g:indentLine_concealcursor = 'vc' (default 'inc')
|
||||||
|
let g:indentLine_conceallevel = 0 (default 2)
|
||||||
|
```
|
||||||
|
|
||||||
**Disable by default**
|
**Disable by default**
|
||||||
```
|
```
|
||||||
let g:indentLine_enabled = 0
|
let g:indentLine_enabled = 0
|
||||||
|
|||||||
@@ -112,9 +112,9 @@ g:indentLine_concealcursor *g:indentLine_concealcursor*
|
|||||||
See *concealcursor*.
|
See *concealcursor*.
|
||||||
Default value is 'inc'.
|
Default value is 'inc'.
|
||||||
|
|
||||||
g:indentLine_concealleavel *g:indentLine_conceallevel*
|
g:indentLine_conceallevel *g:indentLine_conceallevel*
|
||||||
This variable toggles the concealing behavior.
|
This variable toggles the concealing behavior.
|
||||||
See *concealleavel*.
|
See *conceallevel*.
|
||||||
Default value is '2'.
|
Default value is '2'.
|
||||||
|
|
||||||
g:indentLine_leadingSpaceChar *g:indentLine_leadingSpaceChar*
|
g:indentLine_leadingSpaceChar *g:indentLine_leadingSpaceChar*
|
||||||
|
|||||||
Reference in New Issue
Block a user