check the user has grep installed for html checker

This commit is contained in:
Martin Grenfell 2009-07-12 01:38:28 +12:00
parent f2eb99d374
commit 00f8718f6e

View File

@ -14,8 +14,8 @@ if exists("loaded_html_syntax_checker")
endif
let loaded_html_syntax_checker = 1
"bail if the user doesnt have tidy installed
if !executable("tidy")
"bail if the user doesnt have tidy or grep installed
if !executable("tidy") || !executable("grep")
finish
endif