-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Hello, hope you're well.
I just wanted to leave a breadcrumb here to note that I have made a fork which includes a .sublime-syntax-format version of the basic LDIF syntax highlighting. I am not a Sublime Text user, but I assume this is a new syntax format which Sublime understands in addition to the TextMate one.
As I understand it, bat only understands the former (the newer format).
The conversion was done using aziz/SublimeSyntaxConvertor, and I assume that someone wanting to highlight LDIF with bat can just copy that one file, ldif.sublime-syntax, into $(bat --config-dir)/syntaxes and then run bat cache --build. There are more details in the README for my fork.
I mention it here
- because this ST syntax bundle shows up on Package Control as the only search result for "ldif"
- because the instructions in the the the "Adding new syntaxes / language definitions" section of bat's README won't work for adding LDIF syntax highlighting using the contents of this repository alone, because, as mentioned, only the
.sublime-syntaxformat is (currently) understood by bat - in the hopes it can save a future traveler a few minutes figuring all that out on their own
;)
Cheers.
—Kevin
Metadata
Metadata
Assignees
Labels
No labels