%YAML 1.2 --- # http://www.sublimetext.com/docs/3/syntax.html name: PowerShell file_extensions: - ps1 - psm1 - psd1 scope: source.powershell contexts: main: - match: "<#" captures: 0: punctuation.definition.comment.block.begin.powershell push: - meta_scope: comment.block.powershell - match: "#>" captures: 0: punctuation.definition.comment.block.end.powershell pop: true - include: commentEmbeddedDocs - match: '[2-6]>&1|>>|>|<<|<|>|>\||[1-6]>|[1-6]>>' scope: keyword.operator.redirection.powershell - include: commands - include: commentLine - include: variable - include: interpolatedStringContent - include: function - include: attribute - include: UsingDirective - include: type - include: hashtable - include: doubleQuotedString - include: scriptblock - include: doubleQuotedStringEscapes - match: (?