From 1a096f0901264629947afb89436019895e5e7ef5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 9 Jun 2021 16:54:25 +0200 Subject: Fix script indentation inside html, closes #693 --- syntax/html/electron.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 syntax/html/electron.vim (limited to 'syntax/html/electron.vim') 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(':p'), 'html5', 'syntax/html/electron.vim') + finish +endif + +" Vim syntax file +" Language: Electron +" Maintainer: othree +" URL: https://github.com/othree/html5.vim +" Last Change: 2017-03-15 +" License: MIT + +" 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 + -- cgit v1.2.3