Package Control

The Sublime Text package directory, revisited.

SOML

Sublime Text plugin for SOML

Links

Versions

0.0.2 (ST4213+) ·
2026-10-14 15:10

More
  • (ST4213+) 0.0.1 ·
    2026-10-14 14:57

SOML for Sublime Text

SOML support for Sublime Text, a config format for humans

Note

The format is a draft.

Requires Sublime Text 4213 or later.

Install

Install SOML with Package Control, or clone this repository into the Sublime Text Packages folder as SOML. The folder name matters, because the files refer to Packages/SOML/….

The current version is 0.0.2

Features

The syntax knows whether a key or a value comes next, so 2024-01-01: 'x', 404: 'x', and true: 1 have keys, and [1, 2024-01-01T00:00:00Z] has an instant.

Hover

Hover a value to see what it means:

It includes soml-python, so nothing else needs to be installed.

Commands

In the command palette:

JSON and TOML

Settings

Preferences › Package Settings › SOML › Settings, or Preferences: SOML Settings in the command palette. These are syntax-specific settings, so they can also be set per project.

The package also sets tabs, LF line endings in new files, and - as part of a word, so content-type is one word.

Limitations

Scopes

For theme authors. Every scope ends with .soml. The scopes follow the built-in JSON and TOML syntaxes, so color schemes that support those color SOML too.

Development

npm install
npm test

This runs the syntax tests in tests, checks of the commands, and a check of every document in the conformance suite. It runs Sublime Text on macOS as a second instance in the background, with its own data folder, so it does not take the focus or touch your settings. It expects soml-javascript and soml next to this repository.

The soml folder is a copy of soml-python. To update it, run cp ../soml-python/src/soml/*.py soml/.

Results

Packages