mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
Allow for disabling individual languages, closes #66
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: WAI-ARIA
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -60,3 +62,5 @@ syn match htmlArg contained "\<aria-\%(\|dropeffect\|grabbed\)\>"
|
||||
syn match htmlArg contained "\<aria-\%(\|activedescendant\|controls\|describedby\|flowto\)\>"
|
||||
syn match htmlArg contained "\<aria-\%(\|labelledby\|owns\|posinset\|setsize\)\>"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: RDFa
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -9,3 +11,5 @@
|
||||
" 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