Disable new Conceal feature by default

For terminal users, the install is involved.
This commit is contained in:
Reed Esau
2014-08-21 23:29:57 -06:00
parent a13bdd0bb0
commit 72c8788b47
2 changed files with 8 additions and 5 deletions

View File

@@ -222,11 +222,11 @@ let g:pencil#cursorwrap = 1 " 0=disable, 1=enable (def)
For syntaxes such as [tpope/markdown][tm] which support Vims Conceal For syntaxes such as [tpope/markdown][tm] which support Vims Conceal
feature, you can display \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold feature, you can display \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold
italic___\*\*\* styles where the `_` and `*` characters will be hidden italic___\*\*\* styles where the `_` and `*` characters will be hidden
when youre not on the line. Set the following to `0` if you dont want when youre not on the line. Set the following to `2` to enable automatic
this behavior. hiding:
```vim ```vim
let g:pencil#conceallevel = 2 " 0=disable, 1=onechar, 2=hide (def) let g:pencil#conceallevel = 2 " 0=disable (def), 1=onechar, 2=autohide
``` ```
A couple of requirements: to display the _italic_, **bold**, and ***bold A couple of requirements: to display the _italic_, **bold**, and ***bold
@@ -235,6 +235,9 @@ featuring those style variants as well as a colorscheme (such as
[reedes/vim-colors-pencil][cp]) which supports the Markdown-specific [reedes/vim-colors-pencil][cp]) which supports the Markdown-specific
highlight groups. highlight groups.
For those using Vim in terminal mode, such as with iTerm, youll have to
read your documentation to determine how to enable bold and italic styles.
For more details on Vims Conceal feature, see: For more details on Vims Conceal feature, see:
```vim ```vim

View File

@@ -44,8 +44,8 @@ en
if !exists('g:pencil#conceallevel') if !exists('g:pencil#conceallevel')
" by default, concealing capability in your syntax plugin " by default, concealing capability in your syntax plugin
" will be enabled. See tpope/vim-markdown for example. " will be enabled. See tpope/vim-markdown for example.
" Set to 0 if you don't want this behavior " 0=disable (def), 1=onechar, 2=autohide
let g:pencil#conceallevel = 2 let g:pencil#conceallevel = 0
en en
if !exists('g:pencil#softDetectSample') if !exists('g:pencil#softDetectSample')