You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A possible (and the most simple) solution could be to use the js-yaml parser, although I'm not sure about this, since as I can see this library does not use external dependencies
The text was updated successfully, but these errors were encountered:
I use this to develop my Better Less extension, which is currently the built-in grammar package for Less in VS Code.
While this improves the syntax highlighting for the YAML-tmLanguage file, I'm still currently using Sublime Text to convert the YAML-tmLanguage file to tmLanguage PLIST format. It would be awesome if VS Code supported this format directly, so I didn't have to run it through this conversion.
Both PLIST and JSON are data streaming formats, whereas YAML is much more human-readable and easier to work with.
Currently, this library can natively parse TMLanguage from JSON and PLIST formats.
I suggest extending these "natively supported" formats with YAML.
YAML is a convenient format for creating TMLanguage because:
For example, GitHub Linguist also supports YAML-TMLanguage natively or TypeScript TMLanguage written in YAML
A possible (and the most simple) solution could be to use the js-yaml parser, although I'm not sure about this, since as I can see this library does not use external dependencies
The text was updated successfully, but these errors were encountered: