Explorar o código

Restrict error color to ending chars

Like numbers, ending brackets or parenthesis.

Avoid having error color while typing.
DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
c088e75714
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"