summaryrefslogtreecommitdiffstats
path: root/after/syntax/html/electron.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/html/electron.vim')
-rw-r--r--after/syntax/html/electron.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/after/syntax/html/electron.vim b/after/syntax/html/electron.vim
new file mode 100644
index 00000000..f51e1aef
--- /dev/null
+++ b/after/syntax/html/electron.vim
@@ -0,0 +1,19 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
+" Vim syntax file
+" Language: Electron
+" Maintainer: othree <othree@gmail.com>
+" URL: https://github.com/othree/html5.vim
+" Last Change: 2017-03-15
+" License: MIT
+
+" <webview> https://electron.atom.io/docs/api/webview-tag/
+syn keyword htmlTagName contained webview
+
+syn keyword htmlArg contained autosize nodeintegration plugins preload httpreferrer
+syn keyword htmlArg contained useragent disablewebsecurity partition allowpopups
+syn keyword htmlArg contained webpreferences blinkfeatures disableblinkfeatures
+syn keyword htmlArg contained guestinstance disableguestresize
+
+
+endif