summaryrefslogtreecommitdiffstats
path: root/syntax/html/electron.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/html/electron.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/syntax/html/electron.vim b/syntax/html/electron.vim
new file mode 100644
index 00000000..35e60dd4
--- /dev/null
+++ b/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