mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-11 11:23:47 -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-=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<
|
||||
|
||||
Reference in New Issue
Block a user