From 02ce53d20e87193935e08165891d02775daa8fd2 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Wed, 24 Apr 2019 03:33:54 +0200 Subject: [PATCH] Use complete URL --- rc/filetype/javascript.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index 426ca8090..c02c6aabf 100644 --- a/rc/filetype/javascript.kak +++ b/rc/filetype/javascript.kak @@ -86,8 +86,8 @@ define-command -hidden init-javascript-filetype -params 1 %~ # Keywords are collected at # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords - # https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/get - # https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/set + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set add-highlighter "shared/%arg{1}/code/" regex \b(async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|export|extends|finally|for|function|get|if|import|in|instanceof|let|new|of|return|set|static|super|switch|throw|try|typeof|var|void|while|with|yield)\b 0:keyword # Initialization