From 2cc523c3afd3c98e80499409182ca96708d996f4 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Thu, 16 Jun 2016 17:01:47 -0400 Subject: CheckHealth - Use execute() instead of redir - Fixed logic on suboptimal pyenv/virtualenv checks. - Move system calls from strings to lists. Fixes #5218 - Add highlighting - Automatically discover health checkers - Add tests Helped-by: Shougo Matsushita Helped-by: Tommy Allen Closes #4932 --- runtime/syntax/health.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 runtime/syntax/health.vim (limited to 'runtime/syntax') diff --git a/runtime/syntax/health.vim b/runtime/syntax/health.vim new file mode 100644 index 0000000000..1e8e522b4d --- /dev/null +++ b/runtime/syntax/health.vim @@ -0,0 +1,20 @@ +if exists("b:current_syntax") + finish +endif + +syntax keyword healthError ERROR +highlight link healthError Error + +syntax keyword healthWarning WARNING +highlight link healthWarning Todo + +syntax keyword healthInfo INFO +highlight link healthInfo Identifier + +syntax keyword healthSuccess SUCCESS +highlight link healthSuccess Function + +syntax keyword healthSuggestion SUGGESTION +highlight link healthSuggestion String + +let b:current_syntax = "health" -- cgit