Browse Source

Error at last char if no point at end of line

DricomDragon 5 years ago
parent
commit
927551d754
1 changed files with 2 additions and 0 deletions
  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 aEnd		"\.$"
 syn match aImply	":-"
 syn match aImply	":-"
 syn match aNot		"not"
 syn match aNot		"not"
+syn match aWrongEOF	"[^\.]$"
 
 
 let b:current_syntax = "asp"
 let b:current_syntax = "asp"
 
 
@@ -30,3 +31,4 @@ hi def link aRange   	Operator
 hi def link aSpecial    PreProc
 hi def link aSpecial    PreProc
 hi def link aImply      Type
 hi def link aImply      Type
 hi def link aNot	Constant
 hi def link aNot	Constant
+hi def link aWrongEOF	Error