diff options
| author | Alex Leferry 2 <alexherbo2@gmail.com> | 2018-01-30 19:19:12 +0100 |
|---|---|---|
| committer | Alex Leferry 2 <alexherbo2@gmail.com> | 2018-01-30 19:19:12 +0100 |
| commit | 6fe8b9eb70bcbf029b5cbac6567c79f1a2ebfb70 (patch) | |
| tree | e98a9ce7ab52be73d4ff2ed72ef23a1f34afbdf9 /rc/base/javascript.kak | |
| parent | 9c25e955dfdddd0ee63c2edb56cde79b18452da8 (diff) | |
Highlight JavaScript static keywords
Diffstat (limited to 'rc/base/javascript.kak')
| -rw-r--r-- | rc/base/javascript.kak | 2 |
1 files changed, 1 insertions, 1 deletions
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 # ‾‾‾‾‾‾‾‾ |
