Explorar o código

Error at last char if no point at end of line

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
927551d754
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      syntax/vim/syntax/asp.vim

+ 2 - 0
syntax/vim/syntax/asp.vim

@@ -18,6 +18,7 @@ syn match aSpecial 	"#[a-z]\+"
 syn match aEnd		"\.$"
 syn match aImply	":-"
 syn match aNot		"not"
+syn match aWrongEOF	"[^\.]$"
 
 let b:current_syntax = "asp"
 
@@ -30,3 +31,4 @@ hi def link aRange   	Operator
 hi def link aSpecial    PreProc
 hi def link aImply      Type
 hi def link aNot	Constant
+hi def link aWrongEOF	Error