summaryrefslogtreecommitdiffstats
path: root/after/syntax/html/electron.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-08 00:40:28 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-08 00:40:28 +0200
commitbb3de8fa5e509d5f5faf173fd1a92635a0023274 (patch)
treea6401fbc683b8213f008d0564fa40e7f81e1c6f2 /after/syntax/html/electron.vim
parentb3763a917a6a3ca85ae51086fc8d29b28f66fc88 (diff)
downloadvim-polyglot-bb3de8fa5e509d5f5faf173fd1a92635a0023274.tar.gz
vim-polyglot-bb3de8fa5e509d5f5faf173fd1a92635a0023274.zip
Fix markdown and other highlighting, #578
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