sharkdp/bat

Support for alternative theme file format(s)

arrrgi opened this issue · 2 comments

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

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

@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.