Support beautifying files with unknown grammars
Closed this issue · 7 comments
Blocker for #122
- Extension to Grammar mapping
- Atom Beautify package setting for a JSON structure representing extension mapping to Grammar
{
"tss": "Titanium Style Sheet"
}
- Alternative grammar mappings (above) are forced priority on top of Atom's
- See Config docs: https://atom.io/docs/api/v0.187.0/Config
Instead of using JSON, how about using array
type and make the sub items of type string
and the string must be in the form #{extension}:#{grammar}
. For example: tss:Titanium Style Sheet
any news here?
I am working on exams until April 17th. So that will be the earliest time I will have to develop on this and any other features.
If your package https://github.com/m1ga/language-tss works then that should allow a much quicker fix. All we need is for Atom to recognize that grammar, even if that language support does not do much else.
its at least showing TSS in the bottom so it's finding tss files I guess:
Excellent! In that case!...
Published TSS support to v0.24.0
Be sure to install https://github.com/m1ga/language-tss to allow Atom to detect TSS.
😃
Now I'm off to studying. Thanks!