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

Support for alternative theme file format(s) #2943

Open
arrrgi opened this issue Apr 23, 2024 · 2 comments
Open

Support for alternative theme file format(s) #2943

arrrgi opened this issue Apr 23, 2024 · 2 comments
Labels
feature-request New feature or request syntect-features-required Blocked by lack of support in syntect

Comments

@arrrgi
Copy link

arrrgi commented Apr 23, 2024

Situation:

bat currently supports a number of themes out-of-the-box using the TextMate theme XML definition.

Complication:

the .tmtheme definitions rely on external repos as submodules that have not been updated recently and Sublime Text has also moved away from this spec for theming. Configuration definitions in YAML, JSON or TOML are present today in many other modern apps, some sharing a common format/spec.

Question:

Would it be possible for bat to support or migrate from the largely deprecated TextMate theme spec to a modern variant? This may assist in expanding the variety of theme options available for bat users

@arrrgi arrrgi added the feature-request New feature or request label Apr 23, 2024
@keith-hall keith-hall added the syntect-features-required Blocked by lack of support in syntect label Apr 23, 2024
@keith-hall
Copy link
Collaborator

keith-hall commented Apr 23, 2024

This is being tracked upstream (for the JSON .sublime-color-scheme format at least) at trishume/syntect#244

@arrrgi
Copy link
Author

arrrgi commented Apr 23, 2024

@keith-hall It seems all but certain that this will not be adopted in syntect given the issue was opened 5 years ago and the nobody has come forward to adopt this issue and propose a solution/PR. The developer has already indicated he is not willing to work on this, thus my suggestion to look into alternatives.

I'm keen to hear if @sharkdp has an opinion on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request syntect-features-required Blocked by lack of support in syntect
Projects
None yet
Development

No branches or pull requests

2 participants