HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pai

no profile record

Submissions

Show HN: I built a web app to generate Emacs and Vim themes from VSCode theme

nice.github.io
8 points·by pai·3 years ago·3 comments

Show HN: I built a web app to generate Emacs and Vim themes from VSCode theme

nice.github.io
4 points·by pai·3 years ago·5 comments

comments

pai
·3 years ago·discuss
Yes, I have planned to add this. Thanks
pai
·3 years ago·discuss
Just because it is in the official VSC repo does not necessarily make it right, it is clearly an invalid JSON file and the error message is displayed.

Showing the exact line number of the error is beyond this project's scope for now.

I'm currently using https://www.npmjs.com/package/strip-json-comments to remove the comments if any.

There are many online linters available, please check https://jsonlint.com/
pai
·3 years ago·discuss
Both first and second links contained comments in JSON, which is invalid.

I have now added fix to strip the comments, it should work now.

The last link does not have bare minimum requirement of a background color, see FAQ point 4: https://nice.github.io/themeforge/faq/#happy-little-accident...

Thanks for reporting.
pai
·4 years ago·discuss
love it!