rosshemsley / SublimeClangFormat

A C++ code formatter based on Clang Format, for beautiful code with minimal effort in Sublime Text 3
Other
185 stars 52 forks source link

Faulty Comma in OS X Keymap #28

Open ikanor opened 8 years ago

ikanor commented 8 years ago

Trailing comma in the OS X keymap file was causing a settings parse error. This PR fixes it.

adrianN commented 8 years ago

That's weird. The comma also appears in the other platforms' keymaps and doesn't seem to cause problems there.

rosshemsley commented 8 years ago

Mm, indeed this is not in the spec http://www.json.org/.

Does it mind the comments? (I'm sure I've seen these in other ST packages, but I don't think they are explicitly allowed by the spec either)

ikanor commented 8 years ago

Nope, it was just the commas the parser was complaining about.