Pārlūkot izejas kodu

Error at last char if no point at end of line

DricomDragon 5 gadi atpakaļ
vecāks
revīzija
927551d754
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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