From 4f3df59be709bf0d5c5c67dc804fde49abdc2700 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2019 14:33:21 +0200 Subject: Improve guard so it works for no eof new line --- syntax/html/aria.vim | 2 ++ syntax/html/electron.vim | 2 ++ syntax/html/rdfa.vim | 2 ++ 3 files changed, 6 insertions(+) (limited to 'syntax/html') diff --git a/syntax/html/aria.vim b/syntax/html/aria.vim index a22c013b..0c555e6e 100644 --- a/syntax/html/aria.vim +++ b/syntax/html/aria.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: WAI-ARIA " Maintainer: othree @@ -74,4 +75,5 @@ syn match htmlArg contained "\" syn match htmlArg contained "\" + endif diff --git a/syntax/html/electron.vim b/syntax/html/electron.vim index 090c0648..f51e1aef 100644 --- a/syntax/html/electron.vim +++ b/syntax/html/electron.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: Electron " Maintainer: othree @@ -14,4 +15,5 @@ syn keyword htmlArg contained useragent disablewebsecurity partition allowpopups syn keyword htmlArg contained webpreferences blinkfeatures disableblinkfeatures syn keyword htmlArg contained guestinstance disableguestresize + endif diff --git a/syntax/html/rdfa.vim b/syntax/html/rdfa.vim index dfe9f9b6..d772d43c 100644 --- a/syntax/html/rdfa.vim +++ b/syntax/html/rdfa.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: RDFa " Maintainer: othree @@ -10,4 +11,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 " RDFa " http://www.w3.org/TR/rdfa-syntax/#s_syntax syn keyword htmlArg contained about content datatype href inlist prefix property rel resource rev src typeof vocab + endif -- cgit v1.2.3