%YAML 1.2 --- # See http://www.sublimetext.com/docs/3/syntax.html name: Source game config file_extensions: - cfg scope: source.source-config contexts: main: - match: '\s*\/\/' push: comment_line - match: '[\s;]*(\S+)\s+"?([A-Za-z0-9.\-_ ]+)"?' captures: 1: variable.source-config 2: string.unquoted.source-config comment_line: - meta_scope: comment.line.source-config - match: '$' pop: true