From 6fe8b9eb70bcbf029b5cbac6567c79f1a2ebfb70 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Tue, 30 Jan 2018 19:19:12 +0100 Subject: [PATCH] Highlight JavaScript static keywords --- rc/base/javascript.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/javascript.kak b/rc/base/javascript.kak index 60a81573..30f0bbf3 100644 --- a/rc/base/javascript.kak +++ b/rc/base/javascript.kak @@ -34,7 +34,7 @@ add-highlighter shared/javascript/code regex \b(Array|Boolean|Date|Function|Numb # Keywords are collected at # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords -add-highlighter shared/javascript/code regex \b(async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|export|extends|finally|for|function|if|import|in|instanceof|let|new|of|return|super|switch|throw|try|typeof|var|void|while|with|yield)\b 0:keyword +add-highlighter shared/javascript/code regex \b(async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|export|extends|finally|for|function|if|import|in|instanceof|let|new|of|return|static|super|switch|throw|try|typeof|var|void|while|with|yield)\b 0:keyword # Commands # ‾‾‾‾‾‾‾‾