From bb3de8fa5e509d5f5faf173fd1a92635a0023274 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 8 Oct 2020 00:40:28 +0200 Subject: Fix markdown and other highlighting, #578 --- after/syntax/html/electron.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 after/syntax/html/electron.vim (limited to 'after/syntax/html/electron.vim') 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 +" 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 + + +endif -- cgit v1.2.3