From 06cc993cd4d4b87a4b122baf1d3501995da76b81 Mon Sep 17 00:00:00 2001 From: Clint Hall Date: Thu, 22 Mar 2018 12:31:43 -0400 Subject: [PATCH 2/2] Fix javascript close bracket alignment --- 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 7a7bb8da..0c7d68b3 100644 --- a/rc/base/javascript.kak +++ b/rc/base/javascript.kak @@ -20,7 +20,7 @@ define-command -hidden javascript-filter-around-selections %{ define-command -hidden javascript-indent-on-char %< evaluate-commands -draft -itersel %< # align closer token to its opener when alone on a line - try %/ execute-keys -draft ^\h+[]}]$ m s \A|.\z 1 / + try %/ execute-keys -draft ^\h+[\]}]$ m s \A|.\z 1 / > >