ΝΙΚΟΛΑΣ

Results 296 comments of ΝΙΚΟΛΑΣ

Bumping this as no response in a month. Clarification would be nice. Thanks.

Hey, so you are parsing `JSON` and internally Sparser will overwrite some global options when dealing with such a language, (for example, `wrap` limit will be reset to `0`) so...

No problems @zxpectre happy to help! Can you submit a detailed issue to [Prettify](https://github.com/panoply/prettify) for me (with detailed code sample/example). I will be doing some work on the script lexer...

@zxpectre I must of read your issue incorrectly, I see now that you are parsing the entirety of: ``` jsonToObj(replaceAll(' {"hello": { "FOO": { "world": 1234 } } }',"FOO",cache.foo)); ```...

Prettify will return an almost identical structure as its using Sparser under the hood (but with various bug fixes and some improved handling across the board). Don't get to married...

@matjack1 This is related to the "Show HTML source" It would be great to have syntax coloring and highlighting applied to the HTML when using this.

My initial thinking here is to leverage codelens together with code actions to make this capability a reality but the TS-Server LSP plugin is likely a far more fluid route...

Hey @epver What is the desired outcome you are seeking? For some context, you may need to add rules to `markup` as the `liquid` formatting logic only pertains to Liquid...