From: Hiroshi Shirosaki Date: Fri, 19 Feb 2016 00:20:30 +0000 (+0900) Subject: Change document for conceal Fix #258 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/9eba84a2efd76cf209391cf47c2ebaab5a369efc?ds=sidebyside;hp=-c Change document for conceal Fix #258 --- 9eba84a2efd76cf209391cf47c2ebaab5a369efc diff --git a/README.md b/README.md index b3681a5..014c54e 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,13 @@ Concealing is set for some syntax. For example, conceal `[link text](link url)` as just `link text`. -To disable conceal, add the following to your '.vimrc': +To enable conceal use Vim's standard conceal configuration. + +```vim +set conceallevel=2 +``` + +To disable conceal regardless of `conceallevel` setting, add the following to your '.vimrc': ```vim let g:vim_markdown_conceal = 0 diff --git a/doc/vim-markdown.txt b/doc/vim-markdown.txt index 10d94d2..d1922b7 100644 --- a/doc/vim-markdown.txt +++ b/doc/vim-markdown.txt @@ -142,7 +142,12 @@ Concealing is set for some syntax. For example, conceal '[link text](link url)' as just 'link text'. -To disable conceal, add the following to your '.vimrc': +To enable conceal use Vim's standard conceal configuration. +> + set conceallevel=2 +< +To disable conceal regardless of 'conceallevel' setting, add the following to +your '.vimrc': > let g:vim_markdown_conceal = 0 <