mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-11 19:33:48 -05:00
Only set concealable for vims with 'conceal'
This commit is contained in:
@@ -187,7 +187,9 @@ fun! pencil#init(...) abort
|
|||||||
setl formatoptions-=r " don't insert comment leader
|
setl formatoptions-=r " don't insert comment leader
|
||||||
setl formatoptions-=o " 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
|
el
|
||||||
setl smartindent< nosmartindent<
|
setl smartindent< nosmartindent<
|
||||||
setl autoindent< noautoindent<
|
setl autoindent< noautoindent<
|
||||||
|
|||||||
Reference in New Issue
Block a user