Last active
August 29, 2015 14:13
-
-
Save peckpeck/fa9c4fa1861abb63dd06 to your computer and use it in GitHub Desktop.
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
"comment": "Grammar that match cfengine code syntax", | |
"fileTypes": ["cf", "cf3"], | |
"scopeName": "source.cfengine", | |
# Main file : only comment, body and bundle | |
"patterns": [{ | |
"begin": "\\(", | |
"end": "\\)", | |
"patterns": [{ | |
"include": "#variable" | |
}] | |
}], | |
"repository": { | |
"variable": { | |
"patterns": [{ | |
# with parens syntax | |
"begin": "\\$\\(", | |
"end": "\\)", | |
"name": "string.quoted.double.untitled.cfengine" | |
}, { | |
# with brace syntax | |
"begin": "\\${", | |
"end": "}", | |
"name": "string.quoted.double.untitled.cfengine" | |
}] | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment