-
-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
What problem does this feature solve?
Would be nice to list only Aliases, since currently you can only list names or names and aliases.
What feature do you propose?
A function like lexers.Aliases()
which will only returns the aliases or the lexer name if no aliases exist, maybe it could have a flag where it will skip the lexer if no aliases exist or use the name instead.