aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/api-notation/grammars/api-notation.cson
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
committerBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
commitb009b50e81b6c1d0d691505b5f5c0418f559bfc0 (patch)
tree5fae800e76219eba28634cb236565f9b4bb7a2f7 /atom/packages/api-notation/grammars/api-notation.cson
parent4efcafab7f0aa454f9ebe767133654bc9f44e12c (diff)
Remove Atom config
Diffstat (limited to 'atom/packages/api-notation/grammars/api-notation.cson')
-rw-r--r--atom/packages/api-notation/grammars/api-notation.cson127
1 files changed, 0 insertions, 127 deletions
diff --git a/atom/packages/api-notation/grammars/api-notation.cson b/atom/packages/api-notation/grammars/api-notation.cson
deleted file mode 100644
index 8a2b4de..0000000
--- a/atom/packages/api-notation/grammars/api-notation.cson
+++ /dev/null
@@ -1,127 +0,0 @@
-'scopeName': 'source.api-notation'
-'name': 'API Notation'
-'fileTypes': [
- 'api'
-]
-'patterns': [
- {
- 'begin': '^([a-zA-Z0-9_.]+)'
- 'end': '\n'
- 'name': 'constant.language'
- 'patterns': [
- {
- 'include': '#dataTypes'
- }
- {
- 'include': '#comment'
- }
- ]
- }
- {
- 'begin': '[ \t]*',
- 'end': '\n'
- 'patterns': [
- {
- 'include': '#apiMember'
- }
- {
- 'include': '#parameterList'
- }
- {
- 'include': '#dataTypes'
- }
- {
- 'include': '#operators'
- }
- {
- 'include': '#parameters'
- }
- {
- 'include': '#comment'
- }
- ]
- }
- {
- 'begin': '^.',
- 'end': '\n'
- 'patterns': [
- {
- 'include': '#comment'
- }
- ]
- },
-]
-'repository':
- 'dataTypes': {
- 'begin': '\\<'
- 'end': '\\>'
- 'name': 'keyword.operator'
- 'patterns': [
- {
- 'include': '#dataType'
- }
- {
- 'include': '#separators'
- }
- ]
- }
- 'parameterList': {
- 'begin': '\\('
- 'end': '\\)'
- 'name': 'keyword.operator'
- 'patterns': [
- {
- 'include': '#parameters'
- }
- {
- 'include': '#optionalParameters'
- }
- {
- 'include': '#dataTypes'
- }
- {
- 'include': '#separators'
- }
- ]
- }
- 'dataType': {
- 'match': '[a-zA-Z0-9_.]+'
- 'name': 'support.function'
- }
- 'parameters': {
- 'match': '[a-zA-Z0-9_.]+'
- 'name': 'string.other'
- }
- 'optionalParameters': {
- 'begin': '\\['
- 'end': '\\]'
- 'patterns': [
- {
- 'include': '#optionalParameter'
- }
- ]
- }
- 'optionalParameter': {
- 'match': '[a-zA-Z0-9_.]+'
- 'name': 'meta.separator'
- }
- 'separators': {
- 'match': '\\||,'
- 'name': 'comment.line'
- }
- 'apiMember': {
- 'match': '((?:<\\+)|(?:<\\~)|(?:<\\-)|(?:\\+>)|(?:\\~>)|(?:\\->)|\\-|\\+|(?:::)|#)([a-zA-z0-9_]+)'
- 'captures':
- '1':
- 'name': 'keyword.control'
- '2':
- 'name': 'variable.language'
- }
- 'comment': {
- 'match': '[ \t]*//[ \t]*.*',
- 'name': 'comment.line'
- }
- 'operators': {
- 'match': '(?:\\->)|(?:\\=>)'
- 'name': 'keyword.control'
- }