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.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax/html.vim') diff --git a/syntax/html.vim b/syntax/html.vim index 61dacaa5..41b725b6 100644 --- a/syntax/html.vim +++ b/syntax/html.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: HTML (version 5.1) " SVG (SVG 1.1 Second Edition) @@ -189,8 +190,10 @@ syn keyword htmlArg contained scriptlevel scriptminsize scriptsize scriptsizemul syn keyword htmlArg contained stretchy subscriptshift superscriptshift symmetric thickmathspace thinmathspace type valign verythickmathspace verythinmathspace syn keyword htmlArg contained veryverythickmathspace veryverythinmathspace voffset width xref + endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jinja') == -1 + " Vim syntax file " Language: HTML (version 5) " Maintainer: Rodrigo Machado @@ -281,4 +284,5 @@ syn match htmlArg contained "\" " Relationship Attributes syn match htmlArg contained "\" syn match htmlArg contained "\" + endif -- cgit v1.2.3