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
The current TextMate Grammar in this project is heavily targeted towards Github scope names with matching colors.
For a general approach it would be worthwhile to have a grammar with unique scope names for each evaluated section / capturing group.
With such a grammar we could wrap these unique names in $uniqueScopeName$ and use some replacement logic to generate a file with uniqueScopeName and one with githubMappedScopeName from it.
This would allow to get rid of the double association of scope names and allow a more detailed syntax coloring. It would also make debugging the grammar in development much easier.
The text was updated successfully, but these errors were encountered:
The current TextMate Grammar in this project is heavily targeted towards Github scope names with matching colors.
For a general approach it would be worthwhile to have a grammar with unique scope names for each evaluated section / capturing group.
With such a grammar we could wrap these unique names in
$uniqueScopeName$
and use some replacement logic to generate a file withuniqueScopeName
and one withgithubMappedScopeName
from it.This would allow to get rid of the double association of scope names and allow a more detailed syntax coloring. It would also make debugging the grammar in development much easier.
The text was updated successfully, but these errors were encountered: