syntect icon indicating copy to clipboard operation
syntect copied to clipboard

Toml format highlight?

Open d47081 opened this issue 1 year ago • 4 comments

Not sure it is not implemented or just not detected in my path detection?

d47081 avatar Dec 03 '24 14:12 d47081

A Toml syntax definition isn't bundled with syntect by default, but you can easily add one as a consumer of the library. Ref: https://github.com/trishume/syntect/issues/168 https://packagecontrol.io/packages/TOML

keith-hall avatar Dec 03 '24 20:12 keith-hall

See also: https://github.com/sublimehq/Packages/pull/4168

michaelblyons avatar Apr 22 '25 18:04 michaelblyons

A quick skim shows it doesn't use branching or inheritance, so should be compatible 👍

keith-hall avatar Apr 22 '25 18:04 keith-hall

Note that ST's new TOML syntax uses version: 2, which isn't supported yet according to https://github.com/trishume/syntect/issues/323.

FichteFoll avatar Apr 29 '25 00:04 FichteFoll