Skip to content

Conversation

@kopecs
Copy link
Contributor

@kopecs kopecs commented May 17, 2020

Syntax:
This PR adds syntax highlighting support for SML (Standard ML).

Guideline Criteria:
https://packagecontrol.io/packages/SML%20(Standard%20ML) (16k installs)

Notes:
The upstream syntax was originally in tmLanguage format, which I've converted to a .sublime-syntax file, along with removing ml as a filetype that it attempts to highlight as it's my understanding that this could conflict with existing rules for OCaml. As such, I've not included it as a submodule, though if this is undesirable, I can amend as necessary.

@sharkdp
Copy link
Owner

sharkdp commented May 19, 2020

Thank you for your contribution.

along with removing ml as a filetype that it attempts to highlight as it's my understanding that this could conflict with existing rules for OCaml

👍 This would have been caught by a unit test otherwise:

> bash assets/create.sh
…
> cargo test
running 1 test
test no_duplicate_extensions ... FAILED

@sharkdp sharkdp merged commit 7e84477 into sharkdp:master May 19, 2020
@sharkdp
Copy link
Owner

sharkdp commented May 25, 2020

Released in bat v0.15.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants