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 ZeekThe 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-tmLanguageopen in SublimeText run command:PackageDev: Convert (YAML, JSON, PList) to... -
With
Zeek.tmLanguageopen 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