Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic TextMate Grammar for Igor Pro #28

Open
MichaelHuth opened this issue Aug 4, 2023 · 0 comments
Open

Generic TextMate Grammar for Igor Pro #28

MichaelHuth opened this issue Aug 4, 2023 · 0 comments

Comments

@MichaelHuth
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant