separate conceal check and add error message (#377)

This commit is contained in:
Hasu
2022-09-04 16:41:24 +09:00
committed by GitHub
parent 7753505f3c
commit 2dc5110cb5

View File

@@ -5,7 +5,12 @@
scriptencoding utf-8
if !has("conceal") || exists("g:indentLine_loaded")
if !has("conceal")
echoerr "conceal is invalid. To use the plugin, please enable the conceal"
finish
endif
if exists("g:indentLine_loaded")
finish
endif
let g:indentLine_loaded = 1