Better docs and new defaults for Vim's conceal feature

This commit is contained in:
Reed Esau
2014-08-24 23:46:18 -06:00
parent 78c8b46f91
commit 74e5b86409
3 changed files with 36 additions and 23 deletions

View File

@@ -187,8 +187,9 @@ fun! pencil#init(...) abort
setl formatoptions-=r " don't insert comment leader
setl formatoptions-=o " don't insert comment leader
if has("conceal")
exe ":setl cole=" . g:pencil#conceallevel
if has('conceal')
exe ':setl conceallevel=' . g:pencil#conceallevel
exe ':setl concealcursor=' . g:pencil#concealcursor
en
el
setl smartindent< nosmartindent<
@@ -196,8 +197,9 @@ fun! pencil#init(...) abort
setl list< nolist<
setl wrapmargin<
setl formatoptions<
if has("conceal")
setl cole<
if has('conceal')
setl conceallevel<
setl concealcursor<
en
en