Firstly, great work on the generator; it was really useful for converting a Sublime Text package over to VS Code.
This PR fixes some minor things that I noticed while using the generator. It has two main parts:
I realise the second part is perhaps overly pedantic. If you’d rather accept just the typo fixes without the reformatting, I’m happy to redo the PR to suit (that’s why they’re separate commits