mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 04:53:51 -05:00
Improve guard to support concatenated files
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
" Vim syntax file
|
||||
" Language: WAI-ARIA
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -77,3 +74,4 @@ syn match htmlArg contained "\<aria-\%(\|labelledby\|owns\|posinset\|setsize\
|
||||
syn match htmlArg contained "\<aria-\%(\|colcount\|colindex\|colspan\)\>"
|
||||
syn match htmlArg contained "\<aria-\%(\|rowcount\|rowindex\|rowspan\)\>"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
" Vim syntax file
|
||||
" Language: Electron
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -17,3 +14,4 @@ syn keyword htmlArg contained useragent disablewebsecurity partition allowpopups
|
||||
syn keyword htmlArg contained webpreferences blinkfeatures disableblinkfeatures
|
||||
syn keyword htmlArg contained guestinstance disableguestresize
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
" Vim syntax file
|
||||
" Language: RDFa
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -13,3 +10,4 @@ endif
|
||||
" 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
|
||||
|
||||
Reference in New Issue
Block a user