Skip to content

Commit

Permalink
Fix a silly keybinding syntax issue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
OdatNurd committed Oct 12, 2023
1 parent 773320d commit cb615a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/syntax/HyperHelp-Help.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -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: '`'
Expand Down

0 comments on commit cb615a5

Please sign in to comment.