Only set concealable for vims with 'conceal'

This commit is contained in:
Reed Esau
2014-08-22 00:10:40 -06:00
parent 72c8788b47
commit e7d12db91a

View File

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