Zeek syntax highlighting definitions for Sublime Text and TextMate.
Install the "Zeek Language" package. Highlighting will automatically
be provided for files ending in .zeek
or .bro
.
Go to Preferences -> Browse Packages
, and then either download this repo's
contents to a directory named Zeek
or use this command:
git clone https://github.com/zeek/zeek-sublime Zeek
The Zeek.YAML-tmLanguage
file is the one to edit. The others are
generated from it with help from the PackageDev
package, which you
must first install. For example:
-
With
Zeek.YAML-tmLanguage
open in SublimeText run command:PackageDev: Convert (YAML, JSON, PList) to...
-
With
Zeek.tmLanguage
open in SublimeText run command:Plugin Development: Convert Syntax to .sublime-syntax
You can add syntax test cases to syntax_test.zeek
and, with that file open,
execute them by running the command: Build With: Syntax Tests