-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added JSON versions for tmPreference and tmLanguage files for easy mo…
…dification Also re-build the tmLanguage file to include correct DOCTYPE
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Comments", | ||
"scope": "source.hosts-config", | ||
"settings": { | ||
"shellVariables": [ | ||
{ | ||
"name": "TM_COMMENT_START", | ||
"value": "# " | ||
} | ||
] | ||
}, | ||
"uuid": "E6CBDBA3-30DC-4EBD-B4DD-2527FBEED52A" | ||
} |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"fileTypes": [ | ||
"hosts" | ||
], | ||
"name": "Hosts Config", | ||
"patterns": [ | ||
{ | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.comment.source.hosts-config" | ||
} | ||
}, | ||
"name": "comment.line.number-sign.source.hosts-config", | ||
"match": "(#).*$\\n?" | ||
}, | ||
{ | ||
"name": "constant.source.hosts-config", | ||
"match": "^[\\d|\\.]+" | ||
} | ||
], | ||
"scopeName": "source.hosts-config", | ||
"uuid": "783C4FE3-EF25-41F2-9AF4-B6094E9927A2" | ||
} |
This file contains 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 characters