sxinle 9 years ago
parent
commit
f528fbe2e8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      syntax/log.vim

+ 2 - 1
syntax/log.vim

@@ -2,7 +2,8 @@ if exists("b:current_syntax")
   finish
 endif
 
-syn match log_error 	'\c.*\<\(FATAL\|ERROR\|ERRORS\|FAIL\|FAILED\|FAILURE\).*'
+"syn match log_error 	'\c.*\<\(FATAL\|ERROR\|ERRORS\|FAIL\|FAILED\|FAILURE\).*'
+syn match log_error 	' \<\(FATAL\|ERROR\|ERRORS\|FAIL\|FAILED\|FAILURE\).*'
 syn match log_warning 	'\c.*\<\(WARNING\|DELETE\|DELETING\|DELETED\|RETRY\|RETRYING\).*'
 syn region log_string 	start=/'/ end=/'/ end=/$/ skip=/\\./
 syn region log_string 	start=/"/ end=/"/ skip=/\\./