소스 검색

Restrict error color to ending chars

Like numbers, ending brackets or parenthesis.

Avoid having error color while typing.
DricomDragon 5 년 전
부모
커밋
c088e75714
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      syntax/vim/syntax/asp.vim

+ 1 - 1
syntax/vim/syntax/asp.vim

@@ -18,7 +18,7 @@ syn match aSpecial 	"#[a-z]\+"
 syn match aEnd		"\.$"
 syn match aImply	":-"
 syn match aNot		"not"
-syn match aWrongEOF	"[^\.]$"
+syn match aWrongEOF	"\d*[)}0-9]$"
 
 let b:current_syntax = "asp"