-
-
Save manuelzi/6e375370b4789d21f166d2f2cc6b10fb to your computer and use it in GitHub Desktop.
Revisions
-
Steffo99 revised this gist
Jan 11, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,9 +7,9 @@ file_extensions: 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 -
Steffo99 created this gist
Jan 11, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ %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: '\/\/' push: comment_line - match: '(\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