/munki-language-module

Language Module for use with TextWrangler or BBEdit to syntax highlight Munki's pkgsinfo plist files.

munki-language-module

Language Module for use with TextWrangler or BBEdit to syntax highlight Munki's pkgsinfo plist files.

This will syntax highlight Munki's supported keys to visually validate proper syntax when hand editing files.

To install:

  1. Copy the munki_langauage_module.plist to ~/Library/Application Support/TextWrangler/Language Modules/ or ~/Library/Application Support/BBEdit/Language Modules/
  2. Restart TextWrangler or BBEdit.
  3. Adjust keyword and predefined syntax highlighting colors in the TextWrangler or BBEdit preferences if necessary.

This module is set to treat all files that end in .plist as munki pkgsinfo files on open.
If that is not desirable and you'd rather have standard XML highlighting, then remove the BBLMSuffixMap key from the plist.

Inside TextWrangler you can manually choose the language syntax highlighting from the options at the bottom of the TextWrangler window. Choose "Munki Pkginfo" to apply the highlighting.