From 12225882137cb1f05aec348bb3148288120225b4 Mon Sep 17 00:00:00 2001 From: rszyma Date: Mon, 27 Nov 2023 19:52:31 +0100 Subject: [PATCH] add syntax hightlighting for unshift --- syntaxes/kanata.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/kanata.tmLanguage.json b/syntaxes/kanata.tmLanguage.json index 3da1cbf..45657c1 100644 --- a/syntaxes/kanata.tmLanguage.json +++ b/syntaxes/kanata.tmLanguage.json @@ -56,7 +56,7 @@ }, { "_description": "list actions", - "match": "(?:\\s|[()])(layer-switch|layer-toggle|layer-while-held|tap-hold|tap-hold-press|tap-hold-release|tap-hold-press-timeout|tap-hold-release-timeout|tap-hold-release-keys|multi|macro|macro-repeat|macro-release-cancel|macro-repeat-release-cancel|unicode|one-shot|one-shot-press|one-shot-release|one-shot-press-pcancel|one-shot-release-pcancel|tap-dance|tap-dance-eager|chord|release-key|release-layer|on-press-fakekey|on-release-fakekey|on-press-fakekey-delay|on-release-fakekey-delay|on-idle-fakekey|mwheel-up|mwheel-down|mwheel-left|mwheel-right|movemouse-up|movemouse-down|movemouse-left|movemouse-right|movemouse-accel-up|movemouse-accel-down|movemouse-accel-left|movemouse-accel-right|movemouse-speed|setmouse|dynamic-macro-record|dynamic-macro-play|arbitrary-code|cmd|cmd-output-keys|fork|caps-word|caps-word-custom|dynamic-macro-record-stop-truncate|switch|sequence|unmod)(?=\\s|[()])", + "match": "(?:\\s|[()])(layer-switch|layer-toggle|layer-while-held|tap-hold|tap-hold-press|tap-hold-release|tap-hold-press-timeout|tap-hold-release-timeout|tap-hold-release-keys|multi|macro|macro-repeat|macro-release-cancel|macro-repeat-release-cancel|unicode|one-shot|one-shot-press|one-shot-release|one-shot-press-pcancel|one-shot-release-pcancel|tap-dance|tap-dance-eager|chord|release-key|release-layer|on-press-fakekey|on-release-fakekey|on-press-fakekey-delay|on-release-fakekey-delay|on-idle-fakekey|mwheel-up|mwheel-down|mwheel-left|mwheel-right|movemouse-up|movemouse-down|movemouse-left|movemouse-right|movemouse-accel-up|movemouse-accel-down|movemouse-accel-left|movemouse-accel-right|movemouse-speed|setmouse|dynamic-macro-record|dynamic-macro-play|arbitrary-code|cmd|cmd-output-keys|fork|caps-word|caps-word-custom|dynamic-macro-record-stop-truncate|switch|sequence|unmod|unshift)(?=\\s|[()])", "captures": { "1": { "name": "entity.name.function.kanata"