Skip to content

Instantly share code, notes, and snippets.

@vteivans
Created October 25, 2016 10:14
Show Gist options
  • Save vteivans/f0f720c7f7414231a11cf7a037bd621e to your computer and use it in GitHub Desktop.
Save vteivans/f0f720c7f7414231a11cf7a037bd621e to your computer and use it in GitHub Desktop.
Basic Support for template string highlight in Agular 2 for Sublime Text 3 using Type Script. Created from this: https://gist.github.com/subhaze/a754c8d17906f2a25ce2
%YAML1.2
---
# See http://www.sublimetext.com/docs/3/syntax.html
name: TypeScript NG
file_extensions:
- ts
- ng.ts
scope: source.ts.ng
contexts:
main:
- match: ""
push: scope:source.ts
with_prototype:
- match: '`'
push:
- meta_content_scope: text.html.basic.embedded.ts
- include: 'scope:text.html.basic'
- match: '`'
pop: true
@vteivans
Copy link
Author

vteivans commented Oct 25, 2016

Put it in your {pat to}/Packages/User (Usually Top menu -> Preferences -> Browse Packages -> User)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment