Repository navigation
Replies: 2 comments 1 reply
|
Hi @rkh. Delta uses a library called syntect for syntax highlighting, which uses the Sublime syntax definition format. So if there's a Sublime syntax definition that does the multi language support you want then it's possible (either it works out of the box, or by installing a custom syntax definition). Delta does not use bat. But it does use the collection of sublime syntax definitions distributed with bat. Both bat and Delta use syntect, and installation of custom syntax definitions etc is the same / shared. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
From what I understand, delta uses bat under the hood for highlighting. Is there any way to get nested languages to highlight in delta? Like TypeScript or SASS inside a Vue SCF? I assume it's not working because it only has access to the actual snippet shown? Is there some workaround? Like configure input diff to include entire file as context, have delta reduce surrounding number of lines, something like that.
All reactions