ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Zeek Language

by zeek ALL

Zeek scripting language highlighting/support for Sublime Text

Details

  • 1.0.3
  • zeek.​org
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 246
  • Win 90
  • Mac 77
  • Linux 79
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

zeek-sublime

Zeek syntax highlighting definitions for Sublime Text and TextMate.

Sublime Text Installation

Package Control

Install the “Zeek Language” package. Highlighting will automatically be provided for files ending in .zeek or .bro.

Manual Installation

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

Updating the Syntax Files

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