diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 16:54:25 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 16:54:25 +0200 |
commit | 1a096f0901264629947afb89436019895e5e7ef5 (patch) | |
tree | 0091c11164ad40da302e53faa0987e31e6ab9d62 /syntax/html/electron.vim | |
parent | 4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a (diff) | |
download | vim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.tar.gz vim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.zip |
Fix script indentation inside html, closes #693
Diffstat (limited to 'syntax/html/electron.vim')
-rw-r--r-- | syntax/html/electron.vim | 19 |
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..6e4deebf --- /dev/null +++ b/syntax/html/electron.vim @@ -0,0 +1,19 @@ +if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'syntax/html/electron.vim') + finish +endif + +" 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 + |