Sublime Forum

JSON error in default keymap

#1

Hi!

There is a comma (,) at the end of the last array item on row 410 in the default key map file (only confirmed on Windows):
{ “key”: “following_text”, “operator”: “regex_match”, “operand”: “^$”, “match_all”: true },

This messes up any plugins trying to read the default keymap (like cough QuickRef) as a JSON file (which it admittedly aims to be). The existing comments in the file can be stripped out, but validating the whole structure is another thing…

Thanks,
Rablador, QuickRef

0 Likes