From 7ba16e48cdb95849ab5c1db96e3ef7ecac280600 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 8 Sep 2015 16:32:49 +0300 Subject: [PATCH] Add "of" to the list of highlighted keywords --- rc/javascript.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/javascript.kak b/rc/javascript.kak index 690ff396..93815911 100644 --- a/rc/javascript.kak +++ b/rc/javascript.kak @@ -33,7 +33,7 @@ addhl -group /javascript/code regex \<(Array|Boolean|Date|Function|Number|Object # Keywords are collected at # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords -addhl -group /javascript/code regex \<(break|case|catch|class|const|continue|debugger|default|delete|do|else|export|extends|finally|for|function|if|import|in|instanceof|let|new|return|super|switch|throw|try|typeof|var|void|while|with|yield)\> 0:keyword +addhl -group /javascript/code regex \<(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)\> 0:keyword # Commands # ‾‾‾‾‾‾‾‾