Explorar el Código

Error at last char if no point at end of line

DricomDragon hace 5 años
padre
commit
927551d754
Se han modificado 1 ficheros con 2 adiciones y 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