Skip to content

Commit c00d810

Browse files
committed
allowpresentation
1 parent a7a17c3 commit c00d810

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

autoload/xml/html5.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ let attributes_value = {
8080
\ 'action': ['URL', ''],
8181
\ 'allowfullscreen': ['Bool', ''],
8282
\ 'allowpaymentrequest': ['Bool', ''],
83+
\ 'allowpresentation': ['Bool', ''],
8384
\ 'allowusermedia': ['Bool', ''],
8485
\ 'alt': ['Text', ''],
8586
\ 'async': ['Bool', ''],
@@ -577,7 +578,7 @@ let g:xmldata_html5 = {
577578
\ ],
578579
\ 'iframe': [
579580
\ [],
580-
\ extend(copy(global_attributes), {'src': [], 'srcdoc': [], 'name': [], 'width': [], 'height': [], 'sandbox': ['allow-same-origin', 'allow-forms', 'allow-scripts'], 'seamless': ['seamless', ''], 'referrerpolicy': ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'unsafe-url'], 'allowfullscreen': [], 'allowpaymentrequest': [], 'allowusermedia': []})
581+
\ extend(copy(global_attributes), {'src': [], 'srcdoc': [], 'name': [], 'width': [], 'height': [], 'sandbox': ['allow-same-origin', 'allow-forms', 'allow-scripts'], 'seamless': ['seamless', ''], 'referrerpolicy': ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'unsafe-url'], 'allowfullscreen': [], 'allowpaymentrequest': [], 'allowpresentation': [], 'allowusermedia': []})
581582
\ ],
582583
\ 'img': [
583584
\ [],

syntax/html.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ syn keyword htmlArg contained async
110110
" <content>
111111
syn keyword htmlArg contained select
112112
" <iframe>
113-
syn keyword htmlArg contained seamless srcdoc sandbox allowfullscreen allowusermedia allowpaymentrequest
113+
syn keyword htmlArg contained seamless srcdoc sandbox allowfullscreen allowusermedia allowpaymentrequest allowpresentation
114114
" <picture>
115115
syn keyword htmlArg contained srcset sizes
116116
" <a>

0 commit comments

Comments
 (0)