Skip to content

tremor-rs/tremor-sublime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

** sublime-syntax **

The bat cat replacement uses sublime-syntax files for highlighting. This project enables highlighting for tremor when using bat through a minimal sublime IDE support.

Installation

Create a local syntax directory for the bat tool, if needed

$ mkdir -p $(bat --config-dir)/syntaxes
$ cd $(bat --config-dir)/syntaxes

Sparse download the latest ( main branch ) syntax and save into your local bat syntax directory

$ wget -O tremor.sublime-syntax Tremor.sublime-syntax https://raw.githubusercontent.com/tremor-rs/tremor-sublime/main/Tremor.sublime-syntax

Update your bat syntax cache

$ bat cache --build

Verify bat now understands tremor syntax

bat --list-languages | rg tremor
TREMOR:tremor,trickle,troy,json

You should now have syntax highlighting via bat for the tremor DSLs

bat /path/to/tremor-runtime/**/**/*.tremor

About

Sublime syntax definitions

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published