From cb615a52af1d7228796eb53eed6d0b90e95d3206 Mon Sep 17 00:00:00 2001 From: Terence Martin Date: Wed, 11 Oct 2023 22:56:31 -0700 Subject: [PATCH] Fix a silly keybinding syntax issue There was an issue with the syntax definition on key bindings in which we thought it was not correctly scoping the < character. It turns out that it was actually not correctly scopingthe > character instead. This fixes that, although it now makes both < and > highlight differently than the key binding itself. It is, at least, consistent now. --- resources/syntax/HyperHelp-Help.sublime-syntax | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/syntax/HyperHelp-Help.sublime-syntax b/resources/syntax/HyperHelp-Help.sublime-syntax index b1112c5..d267b75 100644 --- a/resources/syntax/HyperHelp-Help.sublime-syntax +++ b/resources/syntax/HyperHelp-Help.sublime-syntax @@ -58,6 +58,7 @@ contexts: push: - meta_scope: variable.language meta.keybind - match: '>(?=[^>])' + scope: punctuation.definition.keybind.end.help pop: true inline-code-block: - match: '`'