From db54576a510260a80e05f1a3bc571365325e2b05 Mon Sep 17 00:00:00 2001 From: Ps-Pencil Date: Wed, 25 Nov 2015 00:35:46 +0000 Subject: [PATCH 1/2] Added description for conceal behaviours --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 867d1b6..28a6006 100644 --- a/README.md +++ b/README.md @@ -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. +**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** ``` let g:indentLine_enabled = 0 From 0b301363012c42b804fab61e7a644598e7f9e1f6 Mon Sep 17 00:00:00 2001 From: Ps-Pencil Date: Wed, 25 Nov 2015 00:36:45 +0000 Subject: [PATCH 2/2] Fixed typo --- doc/indentLine.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/indentLine.txt b/doc/indentLine.txt index 147b2e5..03cdf1b 100644 --- a/doc/indentLine.txt +++ b/doc/indentLine.txt @@ -112,9 +112,9 @@ g:indentLine_concealcursor *g:indentLine_concealcursor* See *concealcursor*. Default value is 'inc'. -g:indentLine_concealleavel *g:indentLine_conceallevel* +g:indentLine_conceallevel *g:indentLine_conceallevel* This variable toggles the concealing behavior. - See *concealleavel*. + See *conceallevel*. Default value is '2'. g:indentLine_leadingSpaceChar *g:indentLine_leadingSpaceChar*