Skip to content

Instantly share code, notes, and snippets.

@subtleGradient
Created May 8, 2010 06:35
Show Gist options
  • Select an option

  • Save subtleGradient/394403 to your computer and use it in GitHub Desktop.

Select an option

Save subtleGradient/394403 to your computer and use it in GitHub Desktop.
proposed api for TextMate CLI scope generator
# generate xml scopes from document using a single language
cat my-document|mater my-language
# generate xml scopes from document
# using a single language
# providing many other languages
# as optional imports
# and scope injection (TM2+ only)
cat my-document|mater -l my-language ~/Library/Application\ Support/TextMate/Bundles/*/Syntaxes/*
# or
cat my-document|mater --lang my-language ~/Library/Application\ Support/TextMate/Bundles/*/Syntaxes/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment