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
Bat #66
Comments
I ran the VSCode port thru the converter I linked and it came up with the attached file. It looks decent in-use, but like I mentioned, it's not clear to me that the highlight groups / syntax is ideal. |
I was thinking of doing a port for bat (and so, everything that use the same format) too, but yes, the converter is not ideal, the highlight groups / syntax are off. It should follow what is done for catppuccin.nvim. It's already a lot better than having the default theme in a catppuccin surrounding though ^^ |
Reading through the documentation for Bat it seems like we could do this using our sublime text theme, all the themes they support are just sublime themes. |
This seems entirely reasonable and working fairly well. It's up to the maintainers if this configuration is up to their standards. I don't see why not, if it works well for Sublime. I'm using it and pretty happy with it. Thanks for discovering this. I didn't realize it worked with Sublime themes as well. I thought it was just the TextMate themes. Feel free to close this ticket if this solution is acceptable. |
How to make it work? I tried to:
But it didn't works, got this following messages:
Running |
Im guessing it's because our sublime theme isn't a tmTheme file, would have to look if we can convert it or need to rebuild it. It's actually formatted differently it's not just a different extension. |
There's no need. You can put .tmTheme or .sublime color theme in the theme directory. Both will work. Check out github.com/hahuang65/bat-config to see what I did. |
Check out github.com/hahuang65/bat-config to see what I did. |
@hahuang65 you have |
Wait, that .tmTheme I have shouldn't be there. Have you tried with just the .sublime-theme-color file? |
Hmm maybe that doesn't work... I thought it did cuz I removed the tmTheme locally, but I guess it's in the cache. |
I added a I tested the new file in sublime and it seems correct. Lmk if it works for bat too. |
Thank you very much! |
Tested in bat too, so far so good 👍 |
Look like catppuccin theme is not merged to bat, @WitherCubes can you post the theme on gist/repo for us to try as custom theme of bat please? |
Ported bat to catppuccin 0.2.0. |
Closed via 799e2f7, repo is now transferred to the org. |
Are you available to help in the creation of this port? 😄 (optional)
Maybe
Additional context 📷 (optional)
Add any other context or screenshots about the port request here.
https://github.com/sharkdp/bat
Looks like the theme is in a TextMate theme format. May be able to kill two birds with one stone on this one.
There are also some .tmTheme generators such as https://opensourcelibs.com/lib/code-theme-converter although I'm not sure that would preserve the integrity of the theme as the author might want.
The text was updated successfully, but these errors were encountered: