code_rippa 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +36 -0
- data/LICENSE +2 -2
- data/README.md +18 -1
- data/bin/code_rippa +15 -16
- data/code_rippa.gemspec +12 -10
- data/lib/code_rippa.rb +69 -51
- data/lib/code_rippa/syntax/actionscript.syntax +52 -52
- data/lib/code_rippa/syntax/active4d.syntax +226 -180
- data/lib/code_rippa/syntax/active4d_html.syntax +163 -173
- data/lib/code_rippa/syntax/active4d_ini.syntax +34 -27
- data/lib/code_rippa/syntax/active4d_library.syntax +8 -15
- data/lib/code_rippa/syntax/ada.syntax +19 -18
- data/lib/code_rippa/syntax/antlr.syntax +85 -85
- data/lib/code_rippa/syntax/apache.syntax +103 -109
- data/lib/code_rippa/syntax/applescript.syntax +244 -229
- data/lib/code_rippa/syntax/asp.syntax +41 -36
- data/lib/code_rippa/syntax/asp_vb.net.syntax +77 -72
- data/lib/code_rippa/syntax/bibtex.syntax +88 -90
- data/lib/code_rippa/syntax/blog_html.syntax +17 -29
- data/lib/code_rippa/syntax/blog_markdown.syntax +17 -27
- data/lib/code_rippa/syntax/blog_text.syntax +15 -15
- data/lib/code_rippa/syntax/blog_textile.syntax +15 -15
- data/lib/code_rippa/syntax/build.syntax +27 -27
- data/lib/code_rippa/syntax/bulletin_board.syntax +159 -172
- data/lib/code_rippa/syntax/c.syntax +31 -34
- data/lib/code_rippa/syntax/cake.syntax +27 -27
- data/lib/code_rippa/syntax/camlp4.syntax +23 -23
- data/lib/code_rippa/syntax/cm.syntax +19 -18
- data/lib/code_rippa/syntax/coffeescript.syntax +134 -181
- data/lib/code_rippa/syntax/coldfusion.syntax +51 -60
- data/lib/code_rippa/syntax/context_free.syntax +106 -106
- data/lib/code_rippa/syntax/cs.syntax +31 -34
- data/lib/code_rippa/syntax/css.syntax +112 -112
- data/lib/code_rippa/syntax/css_experimental.syntax +1006 -1004
- data/lib/code_rippa/syntax/csv.syntax +40 -44
- data/lib/code_rippa/syntax/d.syntax +80 -84
- data/lib/code_rippa/syntax/diff.syntax +46 -45
- data/lib/code_rippa/syntax/dokuwiki.syntax +118 -119
- data/lib/code_rippa/syntax/dot.syntax +26 -26
- data/lib/code_rippa/syntax/doxygen.syntax +26 -26
- data/lib/code_rippa/syntax/dylan.syntax +35 -35
- data/lib/code_rippa/syntax/eiffel.syntax +39 -42
- data/lib/code_rippa/syntax/erlang.syntax +514 -511
- data/lib/code_rippa/syntax/f-script.syntax +44 -44
- data/lib/code_rippa/syntax/fortran.syntax +80 -76
- data/lib/code_rippa/syntax/fxscript.syntax +78 -77
- data/lib/code_rippa/syntax/greasemonkey.syntax +20 -20
- data/lib/code_rippa/syntax/gri.syntax +47 -47
- data/lib/code_rippa/syntax/groovy.syntax +105 -114
- data/lib/code_rippa/syntax/gtd.syntax +10 -10
- data/lib/code_rippa/syntax/gtdalt.syntax +83 -83
- data/lib/code_rippa/syntax/haml.syntax +50 -50
- data/lib/code_rippa/syntax/haskell.syntax +47 -47
- data/lib/code_rippa/syntax/html-asp.syntax +15 -15
- data/lib/code_rippa/syntax/html_django.syntax +15 -14
- data/lib/code_rippa/syntax/html_for_asp.net.syntax +232 -245
- data/lib/code_rippa/syntax/html_mason.syntax +75 -74
- data/lib/code_rippa/syntax/html_rails.syntax +17 -27
- data/lib/code_rippa/syntax/html_tcl.syntax +13 -13
- data/lib/code_rippa/syntax/icalendar.syntax +15 -15
- data/lib/code_rippa/syntax/inform.syntax +26 -26
- data/lib/code_rippa/syntax/ini.syntax +30 -30
- data/lib/code_rippa/syntax/installer_distribution_script.syntax +49 -49
- data/lib/code_rippa/syntax/io.syntax +49 -46
- data/lib/code_rippa/syntax/java.syntax +117 -126
- data/lib/code_rippa/syntax/javaproperties.syntax +13 -12
- data/lib/code_rippa/syntax/javascript.syntax +141 -141
- data/lib/code_rippa/syntax/javascript_+_prototype.syntax +42 -41
- data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +92 -91
- data/lib/code_rippa/syntax/jquery_javascript.syntax +64 -64
- data/lib/code_rippa/syntax/json.syntax +39 -39
- data/lib/code_rippa/syntax/languagedefinition.syntax +373 -453
- data/lib/code_rippa/syntax/lexflex.syntax +136 -136
- data/lib/code_rippa/syntax/lighttpd.syntax +31 -31
- data/lib/code_rippa/syntax/lilypond.syntax +246 -337
- data/lib/code_rippa/syntax/lisp.syntax +32 -32
- data/lib/code_rippa/syntax/literate_haskell.syntax +12 -12
- data/lib/code_rippa/syntax/logo.syntax +13 -14
- data/lib/code_rippa/syntax/logtalk.syntax +81 -81
- data/lib/code_rippa/syntax/lua.syntax +50 -48
- data/lib/code_rippa/syntax/m.syntax +78 -78
- data/lib/code_rippa/syntax/macports_portfile.syntax +98 -97
- data/lib/code_rippa/syntax/makefile.syntax +19 -19
- data/lib/code_rippa/syntax/man.syntax +9 -9
- data/lib/code_rippa/syntax/mediawiki.syntax +311 -401
- data/lib/code_rippa/syntax/mips.syntax +34 -34
- data/lib/code_rippa/syntax/mod_perl.syntax +25 -31
- data/lib/code_rippa/syntax/modula-3.syntax +24 -24
- data/lib/code_rippa/syntax/moinmoin.syntax +102 -102
- data/lib/code_rippa/syntax/mootools.syntax +283 -300
- data/lib/code_rippa/syntax/movable_type.syntax +91 -90
- data/lib/code_rippa/syntax/multimarkdown.syntax +19 -30
- data/lib/code_rippa/syntax/objective-c++.syntax +6 -10
- data/lib/code_rippa/syntax/objective-c.syntax +134 -138
- data/lib/code_rippa/syntax/ocaml.syntax +455 -453
- data/lib/code_rippa/syntax/ocamllex.syntax +94 -93
- data/lib/code_rippa/syntax/ocamlyacc.syntax +98 -98
- data/lib/code_rippa/syntax/opengl.syntax +6 -6
- data/lib/code_rippa/syntax/pascal.syntax +43 -42
- data/lib/code_rippa/syntax/perl.syntax +612 -615
- data/lib/code_rippa/syntax/plain_text.syntax +17 -20
- data/lib/code_rippa/syntax/postscript.syntax +71 -69
- data/lib/code_rippa/syntax/processing.syntax +60 -60
- data/lib/code_rippa/syntax/prolog.syntax +17 -20
- data/lib/code_rippa/syntax/property_list.syntax +338 -359
- data/lib/code_rippa/syntax/python.syntax +487 -509
- data/lib/code_rippa/syntax/python_django.syntax +9 -10
- data/lib/code_rippa/syntax/qmake_project.syntax +67 -67
- data/lib/code_rippa/syntax/qt_c++.syntax +12 -15
- data/lib/code_rippa/syntax/quake3_config.syntax +18 -17
- data/lib/code_rippa/syntax/r.syntax +42 -42
- data/lib/code_rippa/syntax/r_console.syntax +7 -8
- data/lib/code_rippa/syntax/ragel.syntax +109 -115
- data/lib/code_rippa/syntax/rd_r_documentation.syntax +53 -53
- data/lib/code_rippa/syntax/regexp.syntax +26 -26
- data/lib/code_rippa/syntax/release_notes.syntax +46 -26
- data/lib/code_rippa/syntax/remind.syntax +146 -146
- data/lib/code_rippa/syntax/restructuredtext.syntax +132 -131
- data/lib/code_rippa/syntax/rez.syntax +46 -45
- data/lib/code_rippa/syntax/ruby.syntax +533 -601
- data/lib/code_rippa/syntax/ruby_experimental.syntax +82 -100
- data/lib/code_rippa/syntax/ruby_on_rails.syntax +56 -68
- data/lib/code_rippa/syntax/s5.syntax +35 -51
- data/lib/code_rippa/syntax/scheme.syntax +162 -260
- data/lib/code_rippa/syntax/scilab.syntax +18 -18
- data/lib/code_rippa/syntax/setext.syntax +82 -82
- data/lib/code_rippa/syntax/shell-unix-generic.syntax +227 -226
- data/lib/code_rippa/syntax/slate.syntax +91 -91
- data/lib/code_rippa/syntax/sql.syntax +137 -139
- data/lib/code_rippa/syntax/sql_rails.syntax +8 -8
- data/lib/code_rippa/syntax/ssh-config.syntax +17 -17
- data/lib/code_rippa/syntax/standard_ml.syntax +67 -69
- data/lib/code_rippa/syntax/strings_file.syntax +20 -23
- data/lib/code_rippa/syntax/subversion_commit_message.syntax +20 -20
- data/lib/code_rippa/syntax/sweave.syntax +45 -45
- data/lib/code_rippa/syntax/swig.syntax +34 -33
- data/lib/code_rippa/syntax/tcl.syntax +87 -86
- data/lib/code_rippa/syntax/template_toolkit.syntax +67 -65
- data/lib/code_rippa/syntax/textile.syntax +111 -145
- data/lib/code_rippa/syntax/tsv.syntax +31 -33
- data/lib/code_rippa/syntax/twiki.syntax +141 -141
- data/lib/code_rippa/syntax/txt2tags.syntax +39 -38
- data/lib/code_rippa/syntax/vectorscript.syntax +31 -31
- data/lib/code_rippa/syntax/xhtml_1.0.syntax +2297 -2296
- data/lib/code_rippa/syntax/xml.syntax +95 -95
- data/lib/code_rippa/syntax/xml_strict.syntax +49 -50
- data/lib/code_rippa/syntax/xsl.syntax +31 -31
- data/lib/code_rippa/syntax/yaml.syntax +86 -86
- data/lib/code_rippa/syntax/yaml_converter.rb +37 -0
- data/lib/code_rippa/syntax/yui_javascript.syntax +88 -88
- data/lib/code_rippa/version.rb +2 -2
- data/test/fixtures/hello.rb +5 -3
- data/test/test_private_methods.rb +40 -40
- data/test/test_public_methods.rb +9 -18
- metadata +61 -63
@@ -1,60 +1,57 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: C
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- c
|
5
5
|
- h
|
6
6
|
scopeName: source.c
|
7
7
|
uuid: 1BA75B32-707C-11D9-A928-000D93589AF6
|
8
|
-
foldingStartMarker: "(?x)\n\
|
9
|
-
|
10
|
-
\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
|
11
|
-
\t"
|
12
|
-
patterns:
|
8
|
+
foldingStartMarker: "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t"
|
9
|
+
patterns:
|
13
10
|
- name: comment.block.c
|
14
|
-
captures:
|
15
|
-
|
11
|
+
captures:
|
12
|
+
'0':
|
16
13
|
name: punctuation.definition.comment.c
|
17
|
-
begin:
|
18
|
-
end:
|
14
|
+
begin: "/\\*"
|
15
|
+
end: "\\*/"
|
19
16
|
- name: comment.line.double-slash.c
|
20
|
-
captures:
|
21
|
-
|
17
|
+
captures:
|
18
|
+
'1':
|
22
19
|
name: punctuation.definition.comment.c
|
23
|
-
match: (//)
|
20
|
+
match: "(//).*$\\n?"
|
24
21
|
- name: keyword.control.c
|
25
|
-
match:
|
22
|
+
match: "\\b(abstract|as|base|break|case|catch|checked|const|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|goto|if|implicit|in|internal|is|lock|namespace|new|null|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|true|try|typeof|unckecked|unsafe|using|virtual|volatile|void|while)\\b"
|
26
23
|
- name: storage.type.c
|
27
|
-
match:
|
24
|
+
match: "\\b(bool|byte|char|class|decimal|double|enum|float|int|nterface|long|object|sbyte|short|string|struct|uint|ulong|ushort)\\b"
|
28
25
|
- name: constant.numeric.c
|
29
|
-
match:
|
26
|
+
match: "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b"
|
30
27
|
- name: string.quoted.double.c
|
31
|
-
endCaptures:
|
32
|
-
|
28
|
+
endCaptures:
|
29
|
+
'0':
|
33
30
|
name: punctuation.definition.string.end.c
|
34
31
|
begin: "\""
|
35
|
-
beginCaptures:
|
36
|
-
|
32
|
+
beginCaptures:
|
33
|
+
'0':
|
37
34
|
name: punctuation.definition.string.begin.c
|
38
35
|
end: "\""
|
39
|
-
patterns:
|
36
|
+
patterns:
|
40
37
|
- name: constant.character.escape.c#
|
41
|
-
match:
|
38
|
+
match: "\\\\."
|
42
39
|
- name: string.quoted.single.c#
|
43
|
-
endCaptures:
|
44
|
-
|
40
|
+
endCaptures:
|
41
|
+
'0':
|
45
42
|
name: punctuation.definition.string.end.c
|
46
43
|
begin: "'"
|
47
|
-
beginCaptures:
|
48
|
-
|
44
|
+
beginCaptures:
|
45
|
+
'0':
|
49
46
|
name: punctuation.definition.string.begin.c
|
50
47
|
end: "'"
|
51
|
-
patterns:
|
48
|
+
patterns:
|
52
49
|
- name: constant.character.escape.c
|
53
|
-
match:
|
50
|
+
match: "\\\\."
|
54
51
|
- name: meta.preprocessor.c
|
55
|
-
captures:
|
56
|
-
|
52
|
+
captures:
|
53
|
+
'2':
|
57
54
|
name: keyword.control.import.c
|
58
|
-
match: ^(#)
|
59
|
-
foldingStopMarker: (
|
60
|
-
keyEquivalent: ^~C
|
55
|
+
match: "^(#)\\s*(if|else|elif|endif|define|undef|warning|error|line|region|endregion)\\b"
|
56
|
+
foldingStopMarker: "(?<!\\*)\\*\\*/|^\\s*\\}"
|
57
|
+
keyEquivalent: "^~C"
|
@@ -1,55 +1,55 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: Cake
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- thtml
|
5
5
|
scopeName: source.php.cake
|
6
6
|
uuid: 3DF2FE0B-94CC-4EE2-A50A-BD4823D1B09D
|
7
|
-
foldingStartMarker: (
|
8
|
-
patterns:
|
7
|
+
foldingStartMarker: "(/\\*|\\{|\\()"
|
8
|
+
patterns:
|
9
9
|
- name: support.function.model.cake
|
10
|
-
match:
|
10
|
+
match: "\\b(bindModel|unbindModel|hasField|read|field|save|saveField|remove|del|delete|exists|hasAny|find|findAll|findCount|execute|query|validates|invalidate|invalidFields|isForeignKey|getDisplayField|generateList|getID|getLastInsertID|getInsertID|getNumRows|getAffectedRows|setDatasource|beforeFind|afterFind|beforeSave|afterSave|beforeDelete|afterDelete)\\b"
|
11
11
|
- name: support.function.controller.cake
|
12
|
-
match:
|
12
|
+
match: "\\b(redirect|set|setAction|validate|validateErrors|render|referer|flash|flashOut|generateFieldNames|postCondtions|cleanUpFields|beforeFilter|beforeRender|afterFilter)\\b"
|
13
13
|
- name: support.constant.core.cake
|
14
|
-
match:
|
14
|
+
match: "\\b(ACL_CLASSNAME|ACL_FILENAME|APP|APP_DIR|APP_PATH|AUTO_OUTPUT|AUTO_SESSION|CACHE|CACHE_CHECK|CAKE|CAKE_CORE_INCLUDE_PATH|CAKE_SECURITY|CAKE_SESSION_COOKIE|CAKE_SESSION_SAVE|CAKE_SESSION_STRING|CAKE_SESSION_TIMEOUT|COMPONENTS|COMPRESS_CSS|CONFIGS|CONTROLLER_TESTS|CONTROLLERS|CORE_PATH|CSS|DAY|DEBUG|DS|ELEMENTS|HELPER_TESTS|HELPERS|HOUR|INFLECTIONS|JS|LAYOUTS|LIB_TESTS|LIBS|LOG_ERROR|LOGS|MAX_MD5SIZE|MINUTE|MODEL_TESTS|MODELS|MODULES|MONTH|PEAR|ROOT|SCRIPTS|SECOND|TAG_DIV|TAG_FIELDSET|TAG_LABEL|TAG_P_CLASS|TESTS|TMP|VALID_EMAIL|VALID_NOT_EMPTY|VALID_NUMBER|VALID_YEAR|VENDORS|VIEWS|WEBROOT_DIR|WEBSERVICES|WEEK|WWW_ROOT|YEAR)\\b"
|
15
15
|
- name: invalid.deprecated.model.cake
|
16
|
-
match:
|
16
|
+
match: "\\b(setId|findBySql)\\b"
|
17
17
|
- name: invalid.deprecated.helper.html.cake
|
18
|
-
match:
|
18
|
+
match: "\\b(areaTag|charsetTag|checkboxTag|contentTag|cssTag|fileTag|formTag|guiListTag|hiddenTag|imageTag|inputTag|javascriptIncludeTag|javascriptTag|linkEmail|linkOut|linkTo|parseHtmlOptions|passwordTag|radioTags|submitTag|tag|urlFor)\\b"
|
19
19
|
- name: invalid.deprecated.helper.ajax.cake
|
20
|
-
match:
|
20
|
+
match: "\\b(linkToRemote)\\b"
|
21
21
|
- name: support.function.helper.cake
|
22
|
-
match:
|
22
|
+
match: "\\b(isFieldError|labelTag|divTag|pTag|generate(Input|Checkbox|Area|Select|submit)Div|generate(Date|DateTime|Fields))\\b"
|
23
23
|
- name: support.function.helper.html.cake
|
24
|
-
match:
|
24
|
+
match: "\\b(addCrumb|charset|url|link|submit|password|textarea|checkbox|css|file|getCrumbs|hidden|image|input|radio|tableHeaders|tableCells|validate|tagIsValid|validateErrors|tagErrorMsg|selectTag|(day|year|month|hour|minute|meridian|date)OptionTag)\\b"
|
25
25
|
- name: support.function.helper.ajax.cake
|
26
|
-
match:
|
26
|
+
match: "\\b(link|remoteFunction|remoteTimer|form|submit|observe(Field|Form)|autoComplete|drag|drop|dropRemote|slider|editor|sortable)\\b"
|
27
27
|
- name: support.function.file.cake
|
28
|
-
match:
|
28
|
+
match: "\\b(read|append|write|get(Md5|Size|Ext|Name|Owner|Group|Folder|Chmod|FullPath)|create|exists|delete|writable|executable|readable|last(Access|Change))\\b"
|
29
29
|
- name: support.function.log.cake
|
30
|
-
match:
|
30
|
+
match: "\\b(write)\\b"
|
31
31
|
- name: support.function.helper.number.cake
|
32
|
-
match:
|
32
|
+
match: "\\b(precision|toReadableSize|toPercentage)\\b"
|
33
33
|
- name: support.function.component.requestHandler.cake
|
34
|
-
match:
|
34
|
+
match: "\\b(startup|setAjax|is(Ajax|Xml|Rss|Atom|Post|Get|Delete|Mobile)|getAjaxVersion|setContent|get(Referer|ClientIP)|strip(WhiteSpace|Images|Scripts|All|tags)|accepts|prefers)\\b"
|
35
35
|
- name: support.function.component.session.cake
|
36
|
-
match:
|
36
|
+
match: "\\b(write|read|del|delete|check|error|setFlash|flash|renew|valid)\\b"
|
37
37
|
- name: support.function.component.security.cake
|
38
|
-
match:
|
38
|
+
match: "\\b(startup|blackHole|requirePost|requireAuth)\\b"
|
39
39
|
- name: support.function.component.sanitize.cake
|
40
|
-
match:
|
40
|
+
match: "\\b(paranoid|sql|html|cleanArray|cleanArrayR|cleanValue|formatColumns)\\b"
|
41
41
|
- name: support.function.helper.time.cake
|
42
|
-
match:
|
42
|
+
match: "\\b(trim|fromString|nice|niceShort|isToday|daysAsSql|dayAsSql|isThisYear|wasYesterday|isTomorrow|toUnix|toAtom|toRSS|timeAgoInWords|relativeTime|wasWithinLast)\\b"
|
43
43
|
- name: support.function.helper.text.cake
|
44
|
-
match:
|
44
|
+
match: "\\b(highlight|stripLinks|autoLinkUrls|autoLinkEmails|autoLink|truncate|excerpt|flay)\\b"
|
45
45
|
- name: support.function.helper.javascript.cake
|
46
|
-
match:
|
46
|
+
match: "\\b(codeBlock|link|linkOut|escape(String|Script)|event|(cache|write)Events|includeScript|object)\\b"
|
47
47
|
- name: support.function.neatArray.cake
|
48
|
-
match:
|
48
|
+
match: "\\b(findIn|cleanup|add|plus|totals|filter|walk|sprintf|extract|unique|makeUnique|joinWith|threaded|multi_search)\\b"
|
49
49
|
- name: support.function.neatString.cake
|
50
|
-
match:
|
50
|
+
match: "\\b(toArray|toRoman|toCompressed|randomPassword)\\b"
|
51
51
|
- name: support.function.basics.cake
|
52
|
-
match:
|
52
|
+
match: "\\b(load(Models|PluginModels|View|Model|Controllers|PluginController)|listClasses|config|gendor|debug|aa|ha|a|e|low|up|r|pr|params|am|setUri|env|cache|clearCache|stripslashes_deep|countDim|LogError|fileExistsInPAth|convertSlash)\\b"
|
53
53
|
- include: source.php
|
54
54
|
- include: text.html.basic
|
55
|
-
foldingStopMarker: (
|
55
|
+
foldingStopMarker: "(\\*/|\\}|\\))"
|
@@ -1,36 +1,36 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: camlp4
|
3
3
|
scopeName: source.camlp4.ocaml
|
4
|
-
repository:
|
5
|
-
camlpppp-streams:
|
6
|
-
patterns:
|
4
|
+
repository:
|
5
|
+
camlpppp-streams:
|
6
|
+
patterns:
|
7
7
|
- name: meta.camlp4-stream.element.ocaml
|
8
|
-
endCaptures:
|
9
|
-
|
8
|
+
endCaptures:
|
9
|
+
'1':
|
10
10
|
name: punctuation.separator.camlp4.ocaml
|
11
|
-
begin: (')
|
12
|
-
beginCaptures:
|
13
|
-
|
11
|
+
begin: "(')"
|
12
|
+
beginCaptures:
|
13
|
+
'1':
|
14
14
|
name: punctuation.definition.camlp4.simple-element.ocaml
|
15
|
-
end: (;)(
|
16
|
-
patterns:
|
15
|
+
end: "(;)(?=\\s*')|(?=\\s*>])"
|
16
|
+
patterns:
|
17
17
|
- include: source.ocaml
|
18
18
|
uuid: 37538B6B-CEFA-4DAE-B1E4-1218DB82B37F
|
19
|
-
foldingStartMarker: (
|
20
|
-
patterns:
|
19
|
+
foldingStartMarker: "(\\bEXTEND\\B)"
|
20
|
+
patterns:
|
21
21
|
- name: meta.camlp4-stream.ocaml
|
22
|
-
endCaptures:
|
23
|
-
|
22
|
+
endCaptures:
|
23
|
+
'1':
|
24
24
|
name: punctuation.definition.camlp4-stream.ocaml
|
25
|
-
begin: (
|
26
|
-
beginCaptures:
|
27
|
-
|
25
|
+
begin: "(\\[<)(?=.*?>])"
|
26
|
+
beginCaptures:
|
27
|
+
'1':
|
28
28
|
name: punctuation.definition.camlp4-stream.ocaml
|
29
|
-
end: (?=>])
|
30
|
-
patterns:
|
29
|
+
end: "(?=>])"
|
30
|
+
patterns:
|
31
31
|
- include: "#camlpppp-streams"
|
32
32
|
- name: punctuation.definition.camlp4-stream.ocaml
|
33
|
-
match:
|
33
|
+
match: "\\[<|>]"
|
34
34
|
- name: keyword.other.camlp4.ocaml
|
35
|
-
match:
|
36
|
-
foldingStopMarker: (
|
35
|
+
match: "\\bparser\\b|<(<|:)|>>|\\$(:|\\${0,1})"
|
36
|
+
foldingStopMarker: "(\\bEND\\b)"
|
@@ -1,32 +1,33 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: CM
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- cm
|
5
5
|
scopeName: source.cm
|
6
6
|
uuid: AEF91285-0D21-4BB0-B702-F5D0CEDBA4B8
|
7
|
-
foldingStartMarker:
|
8
|
-
patterns:
|
7
|
+
foldingStartMarker: "\\(\\*"
|
8
|
+
patterns:
|
9
9
|
- name: comment.block.cm
|
10
|
-
captures:
|
11
|
-
|
10
|
+
captures:
|
11
|
+
'0':
|
12
12
|
name: punctuation.definition.comment.cm
|
13
|
-
begin:
|
14
|
-
end:
|
13
|
+
begin: "\\(\\*"
|
14
|
+
end: "\\*\\)"
|
15
15
|
- name: keyword.other.cm
|
16
|
-
match:
|
16
|
+
match: "\\b(Library|is|Group|structure|signature|functor)\\b"
|
17
17
|
- name: meta.directive.cm
|
18
|
-
captures:
|
19
|
-
|
18
|
+
captures:
|
19
|
+
'1':
|
20
20
|
name: meta.preprocessor.cm
|
21
|
-
|
21
|
+
'2':
|
22
22
|
name: keyword.control.import.if.cm
|
23
|
-
begin:
|
24
|
-
end:
|
23
|
+
begin: "^\\s*(#(if).*)"
|
24
|
+
end: "^\\s*(#(endif))"
|
25
25
|
- name: string.quoted.double.cm
|
26
26
|
begin: "\""
|
27
27
|
end: "\""
|
28
|
-
patterns:
|
28
|
+
patterns:
|
29
29
|
- name: constant.character.escape.cm
|
30
|
-
match:
|
31
|
-
foldingStopMarker:
|
32
|
-
comment: CM is the SML Compilation Manager, a sophisticated make that determines dependencies
|
30
|
+
match: "\\\\."
|
31
|
+
foldingStopMarker: "\\*\\)"
|
32
|
+
comment: CM is the SML Compilation Manager, a sophisticated make that determines dependencies
|
33
|
+
for you.
|
@@ -1,292 +1,245 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
scopeName: source.coffee
|
3
3
|
name: CoffeeScript
|
4
|
-
keyEquivalent: ^~C
|
5
|
-
comment:
|
6
|
-
repository:
|
7
|
-
instance_variable:
|
8
|
-
patterns:
|
4
|
+
keyEquivalent: "^~C"
|
5
|
+
comment: 'CoffeeScript Syntax: version 1'
|
6
|
+
repository:
|
7
|
+
instance_variable:
|
8
|
+
patterns:
|
9
9
|
- name: variable.other.readwrite.instance.coffee
|
10
|
-
match: (@)([a-zA-Z_
|
11
|
-
embedded_comment:
|
12
|
-
patterns:
|
10
|
+
match: "(@)([a-zA-Z_\\$]\\w*)?"
|
11
|
+
embedded_comment:
|
12
|
+
patterns:
|
13
13
|
- name: comment.line.number-sign.coffee
|
14
|
-
captures:
|
15
|
-
|
14
|
+
captures:
|
15
|
+
'1':
|
16
16
|
name: punctuation.definition.comment.coffee
|
17
|
-
match: (
|
18
|
-
numeric:
|
19
|
-
patterns:
|
17
|
+
match: "(?<!\\\\)(#).*$\\n?"
|
18
|
+
numeric:
|
19
|
+
patterns:
|
20
20
|
- name: constant.numeric.coffee
|
21
|
-
match: (
|
22
|
-
variable_name:
|
23
|
-
patterns:
|
21
|
+
match: "(?<!\\$)\\b((0([box])[0-9a-fA-F]+)|([0-9]+(\\.[0-9]+)?(e[+\\-]?[0-9]+)?))\\b"
|
22
|
+
variable_name:
|
23
|
+
patterns:
|
24
24
|
- name: variable.assignment.coffee
|
25
|
-
captures:
|
26
|
-
|
25
|
+
captures:
|
26
|
+
'1':
|
27
27
|
name: variable.assignment.coffee
|
28
|
-
match: ([a-zA-Z
|
29
|
-
single_quoted_string:
|
30
|
-
patterns:
|
28
|
+
match: "([a-zA-Z\\$_]\\w*(\\.\\w+)*)"
|
29
|
+
single_quoted_string:
|
30
|
+
patterns:
|
31
31
|
- name: string.quoted.single.coffee
|
32
32
|
begin: "'"
|
33
|
-
endCaptures:
|
34
|
-
|
33
|
+
endCaptures:
|
34
|
+
'0':
|
35
35
|
name: punctuation.definition.string.end.coffee
|
36
|
-
beginCaptures:
|
37
|
-
|
36
|
+
beginCaptures:
|
37
|
+
'0':
|
38
38
|
name: punctuation.definition.string.begin.coffee
|
39
39
|
end: "'"
|
40
|
-
patterns:
|
40
|
+
patterns:
|
41
41
|
- name: constant.character.escape.coffee
|
42
|
-
match:
|
43
|
-
double_quoted_string:
|
44
|
-
patterns:
|
42
|
+
match: "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"
|
43
|
+
double_quoted_string:
|
44
|
+
patterns:
|
45
45
|
- name: string.quoted.double.coffee
|
46
46
|
begin: "\""
|
47
|
-
endCaptures:
|
48
|
-
|
47
|
+
endCaptures:
|
48
|
+
'0':
|
49
49
|
name: punctuation.definition.string.end.coffee
|
50
|
-
beginCaptures:
|
51
|
-
|
50
|
+
beginCaptures:
|
51
|
+
'0':
|
52
52
|
name: punctuation.definition.string.begin.coffee
|
53
53
|
end: "\""
|
54
|
-
patterns:
|
54
|
+
patterns:
|
55
55
|
- name: constant.character.escape.coffee
|
56
|
-
match:
|
56
|
+
match: "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)"
|
57
57
|
- include: "#interpolated_coffee"
|
58
|
-
interpolated_coffee:
|
59
|
-
patterns:
|
58
|
+
interpolated_coffee:
|
59
|
+
patterns:
|
60
60
|
- name: source.coffee.embedded.source
|
61
|
-
begin:
|
62
|
-
captures:
|
63
|
-
|
61
|
+
begin: "\\#\\{"
|
62
|
+
captures:
|
63
|
+
'0':
|
64
64
|
name: punctuation.section.embedded.coffee
|
65
|
-
end:
|
66
|
-
patterns:
|
67
|
-
- include: $self
|
65
|
+
end: "\\}"
|
66
|
+
patterns:
|
67
|
+
- include: "$self"
|
68
68
|
uuid: 5B520980-A7D5-4E10-8582-1A4C889A8DE5
|
69
|
-
firstLineMatch:
|
70
|
-
patterns:
|
69
|
+
firstLineMatch: "^#!.*\\bcoffee"
|
70
|
+
patterns:
|
71
71
|
- name: meta.inline.function.coffee
|
72
|
-
comment:
|
73
|
-
captures:
|
74
|
-
|
72
|
+
comment: 'match stuff like: a -> … '
|
73
|
+
captures:
|
74
|
+
'1':
|
75
75
|
name: variable.parameter.function.coffee
|
76
|
-
|
76
|
+
'2':
|
77
77
|
name: storage.type.function.coffee
|
78
|
-
match: (
|
78
|
+
match: "(\\([^()]*?\\))\\s*([=-]>)"
|
79
79
|
- name: meta.class.instance.constructor
|
80
|
-
captures:
|
81
|
-
|
80
|
+
captures:
|
81
|
+
'1':
|
82
82
|
name: keyword.operator.new.coffee
|
83
|
-
|
83
|
+
'2':
|
84
84
|
name: entity.name.type.instance.coffee
|
85
|
-
match: (new)
|
85
|
+
match: "(new)\\s+(\\w+(?:\\.\\w*)*)"
|
86
86
|
- name: string.quoted.heredoc.coffee
|
87
87
|
begin: "'''"
|
88
|
-
endCaptures:
|
89
|
-
|
88
|
+
endCaptures:
|
89
|
+
'0':
|
90
90
|
name: punctuation.definition.string.end.coffee
|
91
|
-
beginCaptures:
|
92
|
-
|
91
|
+
beginCaptures:
|
92
|
+
'0':
|
93
93
|
name: punctuation.definition.string.begin.coffee
|
94
94
|
end: "'''"
|
95
95
|
- name: string.quoted.double.heredoc.coffee
|
96
96
|
begin: "\"\"\""
|
97
|
-
endCaptures:
|
98
|
-
|
97
|
+
endCaptures:
|
98
|
+
'0':
|
99
99
|
name: punctuation.definition.string.end.coffee
|
100
|
-
beginCaptures:
|
101
|
-
|
100
|
+
beginCaptures:
|
101
|
+
'0':
|
102
102
|
name: punctuation.definition.string.begin.coffee
|
103
103
|
end: "\"\"\""
|
104
|
-
patterns:
|
104
|
+
patterns:
|
105
105
|
- name: constant.character.escape.coffee
|
106
|
-
match:
|
106
|
+
match: "\\\\."
|
107
107
|
- include: "#interpolated_coffee"
|
108
108
|
- name: string.quoted.script.coffee
|
109
|
-
begin: `
|
110
|
-
endCaptures:
|
111
|
-
|
109
|
+
begin: "`"
|
110
|
+
endCaptures:
|
111
|
+
'0':
|
112
112
|
name: punctuation.definition.string.end.coffee
|
113
|
-
beginCaptures:
|
114
|
-
|
113
|
+
beginCaptures:
|
114
|
+
'0':
|
115
115
|
name: punctuation.definition.string.begin.coffee
|
116
|
-
end: `
|
117
|
-
patterns:
|
116
|
+
end: "`"
|
117
|
+
patterns:
|
118
118
|
- name: constant.character.escape.coffee
|
119
|
-
match:
|
119
|
+
match: "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)"
|
120
120
|
- name: comment.block.coffee
|
121
|
-
begin: (?<!#)###(?!#)
|
122
|
-
captures:
|
123
|
-
|
121
|
+
begin: "(?<!#)###(?!#)"
|
122
|
+
captures:
|
123
|
+
'0':
|
124
124
|
name: punctuation.definition.comment.coffee
|
125
125
|
end: "###(?:[ \\t]*\\n)"
|
126
|
-
patterns:
|
126
|
+
patterns:
|
127
127
|
- name: storage.type.annotation.coffeescript
|
128
128
|
match: "@\\w*"
|
129
129
|
- name: comment.line.number-sign.coffee
|
130
|
-
captures:
|
131
|
-
|
130
|
+
captures:
|
131
|
+
'1':
|
132
132
|
name: punctuation.definition.comment.coffee
|
133
|
-
match: (#)(
|
133
|
+
match: "(#)(?!\\{).*$\\n?"
|
134
134
|
- name: string.regexp.coffee
|
135
|
-
begin: /{3}
|
136
|
-
end: /{3}[imgy]{0,4}
|
137
|
-
patterns:
|
135
|
+
begin: "/{3}"
|
136
|
+
end: "/{3}[imgy]{0,4}"
|
137
|
+
patterns:
|
138
138
|
- include: "#interpolated_coffee"
|
139
139
|
- include: "#embedded_comment"
|
140
140
|
- name: string.regexp.coffee
|
141
|
-
match: /(?![
|
141
|
+
match: "/(?![\\s=/*+{}?]).*?[^\\\\]/[igmy]{0,4}(?![a-zA-Z0-9])"
|
142
142
|
- name: keyword.control.coffee
|
143
|
-
match: "(?x)\n\
|
144
|
-
\t\t\t\t\\b(?<![\\.\\$])(\n\
|
145
|
-
\t\t\t\t\tbreak|by|catch|continue|else|finally|for|in|of|if|return|switch|\n\
|
146
|
-
\t\t\t\t\tthen|throw|try|unless|when|while|until|loop|do|(?<=for)\\s+own\n\
|
147
|
-
\t\t\t\t)(?!\\s*:)\\b\n\
|
148
|
-
\t\t\t"
|
143
|
+
match: "(?x)\n\t\t\t\t\\b(?<![\\.\\$])(\n\t\t\t\t\tbreak|by|catch|continue|else|finally|for|in|of|if|return|switch|\n\t\t\t\t\tthen|throw|try|unless|when|while|until|loop|do|(?<=for)\\s+own\n\t\t\t\t)(?!\\s*:)\\b\n\t\t\t"
|
149
144
|
- name: keyword.operator.coffee
|
150
|
-
match: "(?x)\n\
|
151
|
-
\t\t\t\tand=|or=|!|%|&|\\^|\\*|\\/|(\\-)?\\-(?!>)|\\+\\+|\\+|~|==|=(?!>)|!=|<=|>=|<<=|>>=|\n\
|
152
|
-
\t\t\t\t>>>=|<>|<|>|!|&&|\\.\\.(\\.)?|\\?|\\||\\|\\||\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\n\
|
153
|
-
\t\t\t\t\\^=|\\b(?<![\\.\\$])(instanceof|new|delete|typeof|and|or|is|isnt|not)\\b\n\
|
154
|
-
\t\t\t"
|
145
|
+
match: "(?x)\n\t\t\t\tand=|or=|!|%|&|\\^|\\*|\\/|(\\-)?\\-(?!>)|\\+\\+|\\+|~|==|=(?!>)|!=|<=|>=|<<=|>>=|\n\t\t\t\t>>>=|<>|<|>|!|&&|\\.\\.(\\.)?|\\?|\\||\\|\\||\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\n\t\t\t\t\\^=|\\b(?<![\\.\\$])(instanceof|new|delete|typeof|and|or|is|isnt|not)\\b\n\t\t\t"
|
155
146
|
- name: variable.assignment.coffee
|
156
|
-
captures:
|
157
|
-
|
147
|
+
captures:
|
148
|
+
'1':
|
158
149
|
name: variable.assignment.coffee
|
159
|
-
|
150
|
+
'4':
|
160
151
|
name: punctuation.separator.key-value
|
161
|
-
|
152
|
+
'5':
|
162
153
|
name: keyword.operator.coffee
|
163
|
-
match: ([a-zA-Z
|
154
|
+
match: "([a-zA-Z\\$_](\\w|\\$|\\.)*\\s*(?!\\::)((:)|(=))(?!(\\s*\\(.*\\))?\\s*((=|-)>)))"
|
164
155
|
- name: meta.variable.assignment.destructured.coffee
|
165
|
-
begin: (
|
166
|
-
endCaptures:
|
167
|
-
|
156
|
+
begin: "(?<=\\s|^)([\\[\\{])(?=.*?[\\]\\}]\\s+[:=])"
|
157
|
+
endCaptures:
|
158
|
+
'0':
|
168
159
|
name: keyword.operator.coffee
|
169
|
-
beginCaptures:
|
170
|
-
|
160
|
+
beginCaptures:
|
161
|
+
'0':
|
171
162
|
name: keyword.operator.coffee
|
172
|
-
end: ([
|
173
|
-
patterns:
|
163
|
+
end: "([\\]\\}]\\s*[:=])"
|
164
|
+
patterns:
|
174
165
|
- include: "#variable_name"
|
175
166
|
- include: "#instance_variable"
|
176
167
|
- include: "#single_quoted_string"
|
177
168
|
- include: "#double_quoted_string"
|
178
169
|
- include: "#numeric"
|
179
170
|
- name: meta.function.coffee
|
180
|
-
captures:
|
181
|
-
|
171
|
+
captures:
|
172
|
+
'2':
|
182
173
|
name: entity.name.function.coffee
|
183
|
-
|
174
|
+
'3':
|
184
175
|
name: entity.name.function.coffee
|
185
|
-
|
176
|
+
'4':
|
186
177
|
name: variable.parameter.function.coffee
|
187
|
-
|
178
|
+
'5':
|
188
179
|
name: storage.type.function.coffee
|
189
|
-
match: "(?x)\n\
|
190
|
-
\t\t\t\t(\\s*)\n\
|
191
|
-
\t\t\t\t(?=[a-zA-Z\\$_])\n\
|
192
|
-
\t\t\t\t(\n\
|
193
|
-
\t\t\t\t\t[a-zA-Z\\$_](\\w|\\$|:|\\.)*\\s*\n\
|
194
|
-
\t\t\t\t\t(?=[:=](\\s*\\(.*\\))?\\s*([=-]>))\n\
|
195
|
-
\t\t\t\t)\n\
|
196
|
-
\t\t\t"
|
180
|
+
match: "(?x)\n\t\t\t\t(\\s*)\n\t\t\t\t(?=[a-zA-Z\\$_])\n\t\t\t\t(\n\t\t\t\t\t[a-zA-Z\\$_](\\w|\\$|:|\\.)*\\s*\n\t\t\t\t\t(?=[:=](\\s*\\(.*\\))?\\s*([=-]>))\n\t\t\t\t)\n\t\t\t"
|
197
181
|
- name: storage.type.function.coffee
|
198
182
|
match: "[=-]>"
|
199
183
|
- name: constant.language.boolean.true.coffee
|
200
|
-
match:
|
184
|
+
match: "\\b(?<!\\.)(true|on|yes)(?!\\s*[:=])\\b"
|
201
185
|
- name: constant.language.boolean.false.coffee
|
202
|
-
match:
|
186
|
+
match: "\\b(?<!\\.)(false|off|no)(?!\\s*[:=])\\b"
|
203
187
|
- name: constant.language.null.coffee
|
204
|
-
match:
|
188
|
+
match: "\\b(?<!\\.)null(?!\\s*[:=])\\b"
|
205
189
|
- name: variable.language.coffee
|
206
|
-
match:
|
190
|
+
match: "\\b(?<!\\.)(super|this|extends)(?!\\s*[:=])\\b"
|
207
191
|
- name: meta.class.coffee
|
208
|
-
captures:
|
209
|
-
|
192
|
+
captures:
|
193
|
+
'1':
|
210
194
|
name: storage.type.class.coffee
|
211
|
-
|
195
|
+
'2':
|
212
196
|
name: entity.name.type.class.coffee
|
213
|
-
|
197
|
+
'3':
|
214
198
|
name: keyword.control.inheritance.coffee
|
215
|
-
|
199
|
+
'4':
|
216
200
|
name: entity.other.inherited-class.coffee
|
217
|
-
match: (class
|
201
|
+
match: "(class\\b)\\s+(@?[a-zA-Z\\$_][\\w\\.]*)?(?:\\s+(extends)\\s+(@?[a-zA-Z\\$\\._][\\w\\.]*))?"
|
218
202
|
- name: keyword.other.coffee
|
219
|
-
match:
|
203
|
+
match: "\\b(debugger|\\\\)\\b"
|
220
204
|
- name: support.class.coffee
|
221
|
-
match:
|
222
|
-
(?x)\b(
|
223
|
-
Array|ArrayBuffer|Blob|Boolean|Date|document|event|Function|
|
224
|
-
Int(8|16|32|64)Array|Math|Map|Number|
|
225
|
-
Object|Proxy|RegExp|Set|String|WeakMap|
|
226
|
-
window|Uint(8|16|32|64)Array|XMLHttpRequest
|
227
|
-
)\b
|
205
|
+
match: "(?x)\\b(\n\t\t\t\tArray|ArrayBuffer|Blob|Boolean|Date|document|event|Function|\n\t\t\t\tInt(8|16|32|64)Array|Math|Map|Number|\n\t\t\t\tObject|Proxy|RegExp|Set|String|WeakMap|\n\t\t\t\twindow|Uint(8|16|32|64)Array|XMLHttpRequest\n\t\t\t)\\b"
|
228
206
|
- name: entity.name.type.object.coffee
|
229
|
-
match:
|
207
|
+
match: "\\b(console)\\b"
|
230
208
|
- name: support.function.console.coffee
|
231
|
-
match: ((?<=console
|
209
|
+
match: "((?<=console\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\b"
|
232
210
|
- name: support.function.coffee
|
233
|
-
match:
|
234
|
-
(?x)\b(
|
235
|
-
decodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require
|
236
|
-
)\b
|
211
|
+
match: "(?x)\\b(\n\t\t\t\tdecodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require\n\t\t\t)\\b"
|
237
212
|
- name: support.function.method.array.coffee
|
238
|
-
match:
|
239
|
-
(?x)((?<=\.)(
|
240
|
-
apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|
|
241
|
-
isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|
|
242
|
-
reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|
|
243
|
-
unshift|valueOf
|
244
|
-
))\b
|
213
|
+
match: "(?x)((?<=\\.)(\n\t\t\t\tapply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|\n\t\t\t\tisPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|\n\t\t\t\treduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|\n\t\t\t\tunshift|valueOf\n\t\t\t))\\b"
|
245
214
|
- name: support.function.static.array.coffee
|
246
|
-
match:
|
247
|
-
(?x)((?<=Array\.)(
|
248
|
-
isArray
|
249
|
-
))\b
|
215
|
+
match: "(?x)((?<=Array\\.)(\n\t\t\t\tisArray\n\t\t\t))\\b"
|
250
216
|
- name: support.function.static.object.coffee
|
251
|
-
match:
|
252
|
-
(?x)((?<=Object\.)(
|
253
|
-
create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|
|
254
|
-
getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|
|
255
|
-
isnt|keys|preventExtensions|seal
|
256
|
-
))\b
|
217
|
+
match: "(?x)((?<=Object\\.)(\n\t\t\t\tcreate|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|\n\t\t\t\tgetProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|\n\t\t\t\tisnt|keys|preventExtensions|seal\n\t\t\t))\\b"
|
257
218
|
- name: support.function.static.math.coffee
|
258
|
-
match:
|
259
|
-
(?x)((?<=Math\.)(
|
260
|
-
abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|
|
261
|
-
hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|
|
262
|
-
tan|tanh|trunc
|
263
|
-
))\b
|
219
|
+
match: "(?x)((?<=Math\\.)(\n\t\t\t\tabs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|\n\t\t\t\thypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|\n\t\t\t\ttan|tanh|trunc\n\t\t\t))\\b"
|
264
220
|
- name: support.function.static.number.coffee
|
265
|
-
match:
|
266
|
-
(?x)((?<=Number\.)(
|
267
|
-
is(Finite|Integer|NaN)|toInteger
|
268
|
-
))\b
|
221
|
+
match: "(?x)((?<=Number\\.)(\n\t\t\t\tis(Finite|Integer|NaN)|toInteger\n\t\t\t))\\b"
|
269
222
|
- name: constant.language.coffee
|
270
|
-
match:
|
223
|
+
match: "\\b(Infinity|NaN|undefined)\\b"
|
271
224
|
- name: punctuation.terminator.statement.coffee
|
272
|
-
match:
|
225
|
+
match: "\\;"
|
273
226
|
- name: meta.delimiter.object.comma.coffee
|
274
|
-
match: ,[
|
227
|
+
match: ",[ |\\t]*"
|
275
228
|
- name: meta.delimiter.method.period.coffee
|
276
|
-
match:
|
229
|
+
match: "\\."
|
277
230
|
- name: meta.brace.curly.coffee
|
278
|
-
match:
|
231
|
+
match: "\\{|\\}"
|
279
232
|
- name: meta.brace.round.coffee
|
280
|
-
match:
|
233
|
+
match: "\\(|\\)"
|
281
234
|
- name: meta.brace.square.coffee
|
282
|
-
match:
|
235
|
+
match: "\\[|\\]\\s*"
|
283
236
|
- include: "#instance_variable"
|
284
237
|
- include: "#single_quoted_string"
|
285
238
|
- include: "#double_quoted_string"
|
286
239
|
- include: "#numeric"
|
287
|
-
foldingStartMarker:
|
288
|
-
foldingStopMarker:
|
289
|
-
fileTypes:
|
240
|
+
foldingStartMarker: "^\\s*class\\s+\\S.*$|.*(->|=>)\\s*$|.*[\\[{]\\s*$"
|
241
|
+
foldingStopMarker: "^\\s*$|^\\s*[}\\]]\\s*$"
|
242
|
+
fileTypes:
|
290
243
|
- coffee
|
291
244
|
- Cakefile
|
292
245
|
- coffee.erb
|