diff options
Diffstat (limited to 'autoload/xml')
-rw-r--r-- | autoload/xml/html5.vim | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim index 5ec9cd7e..0d9a6a2c 100644 --- a/autoload/xml/html5.vim +++ b/autoload/xml/html5.vim @@ -545,7 +545,7 @@ let g:xmldata_html5 = { \ ], \ 'iframe': [ \ [], - \ extend(copy(global_attributes), {'src': [], 'name': [], 'width': [], 'height': [], 'sandbox': ['allow-same-origin', 'allow-forms', 'allow-scripts'], 'seamless': ['seamless', '']}) + \ extend(copy(global_attributes), {'src': [], 'srcdoc': [], 'name': [], 'width': [], 'height': [], 'sandbox': ['allow-same-origin', 'allow-forms', 'allow-scripts'], 'seamless': ['seamless', '']}) \ ], \ 'img': [ \ [], @@ -659,6 +659,10 @@ let g:xmldata_html5 = { \ phrasing_elements, \ extend(copy(global_attributes), {'cite': []}) \ ], +\ 'rb': [ + \ phrasing_elements, + \ global_attributes +\ ], \ 'rp': [ \ phrasing_elements, \ global_attributes @@ -667,10 +671,14 @@ let g:xmldata_html5 = { \ phrasing_elements, \ global_attributes \ ], -\ 'ruby': [ +\ 'rtc': [ \ phrasing_elements + ['rp', 'rt'], \ global_attributes \ ], +\ 'ruby': [ + \ phrasing_elements + ['rb', 'rp', 'rt', 'rtc'], + \ global_attributes +\ ], \ 'samp': [ \ phrasing_elements, \ global_attributes |