Skip to content

sdm-lang/sdml-sublime-text

Repository files navigation

SDML Package for Sublime Text

SDML Logo Text

This is a reasonably complete package for the Sublime Text editor. The provided syntax highlighting is mostly complete except for formal constraints and type-class method definitions.

Additionally, the invaluable bat command-line tool uses .sublime-syntax files to do terminal source highlighting.

A Github workflow attaches a downloadable .sublime-package file to each release.

Features

Syntax highlighting based on a .sublime-syntax grammar.

Sublime Text Highlighting

Grammar integrated into the bat pager.

Bat Highlighting

Installation

The install script provided will clone this repository into your Sublime Text package location and, if you have bat installed, link the repository into the bat configuration folder.

$ curl https://raw.githubusercontent.com/sdm-lang/sdml-sublime-text/main/install.sh | sh

Alternatively, you can download a release zip file from Github and unzip on the Sublime Text Packages directory.

License

This package is released under the Apache License, Version 2.0. See LICENSE file for details.

Changes

Version: 0.1.0

  • Initial release, syntax highlighting only.

TODO

  1. Copy over snippets from the TextMate bundle.
  2. Add configuration for a build system.