summaryrefslogtreecommitdiffstats
path: root/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/html.vim')
-rw-r--r--syntax/html.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/html.vim b/syntax/html.vim
index 4b02bc7f..ee2323de 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -129,6 +129,8 @@ syn keyword htmlArg contained prefetch
" syn keyword htmlArg contained preload
" <img>
syn keyword htmlArg contained decoding
+" https://w3c.github.io/selection-api/#extensions-to-globaleventhandlers
+syn keyword htmlArg contained onselectstart onselectionchange
" Custom Data Attributes
" http://w3c.github.io/html/single-page.html#embedding-custom-non-visible-data-with-the-data-attributes