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,66 +1,66 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: MIPS Assembler
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- s
|
5
5
|
- mips
|
6
6
|
- spim
|
7
7
|
- asm
|
8
8
|
scopeName: source.mips
|
9
9
|
uuid: 7FD88C2E-6BE3-11D9-9A40-0011242E4184
|
10
|
-
patterns:
|
10
|
+
patterns:
|
11
11
|
- name: support.function.pseudo.mips
|
12
|
-
match:
|
13
|
-
comment:
|
12
|
+
match: "\\b(mul|abs|div|divu|mulo|mulou|neg|negu|not|rem|remu|rol|ror|li|seq|sge|sgeu|sgt|sgtu|sle|sleu|sne|b|beqz|bge|bgeu|bgt|bgtu|ble|bleu|blt|bltu|bnez|la|ld|ulh|ulhu|ulw|sd|ush|usw|move|mfc1\\.d|l\\.d|l\\.s|s\\.d|s\\.s)\\b"
|
13
|
+
comment: ok actually this are instructions, but one also could call them funtions…
|
14
14
|
- name: support.function.mips
|
15
|
-
match:
|
15
|
+
match: "\\b(abs\\.d|abs\\.s|add|add\\.d|add\\.s|addi|addiu|addu|and|andi|bc1f|bc1t|beq|bgez|bgezal|bgtz|blez|bltz|bltzal|bne|break|c\\.eq\\.d|c\\.eq\\.s|c\\.le\\.d|c\\.le\\.s|c\\.lt\\.d|c\\.lt\\.s|ceil\\.w\\.d|ceil\\.w\\.s|clo|clz|cvt\\.d\\.s|cvt\\.d\\.w|cvt\\.s\\.d|cvt\\.s\\.w|cvt\\.w\\.d|cvt\\.w\\.s|div|div\\.d|div\\.s|divu|eret|floor\\.w\\.d|floor\\.w\\.s|j|jal|jalr|jr|lb|lbu|lh|lhu|ll|lui|lw|lwc1|lwl|lwr|madd|maddu|mfc0|mfc1|mfhi|mflo|mov\\.d|mov\\.s|movf|movf\\.d|movf\\.s|movn|movn\\.d|movn\\.s|movt|movt\\.d|movt\\.s|movz|movz\\.d|movz\\.s|msub|mtc0|mtc1|mthi|mtlo|mul|mul\\.d|mul\\.s|mult|multu|neg\\.d|neg\\.s|nop|nor|or|ori|round\\.w\\.d|round\\.w\\.s|sb|sc|sdc1|sh|sll|sllv|slt|slti|sltiu|sltu|sqrt\\.d|sqrt\\.s|sra|srav|srl|srlv|sub|sub\\.d|sub\\.s|subu|sw|swc1|swl|swr|syscall|teq|teqi|tge|tgei|tgeiu|tgeu|tlt|tlti|tltiu|tltu|trunc\\.w\\.d|trunc\\.w\\.s|xor|xori)\\b"
|
16
16
|
- name: storage.type.mips
|
17
|
-
match:
|
17
|
+
match: "\\.(ascii|asciiz|byte|data|double|float|half|kdata|ktext|space|text|word|set\\s*(noat|at))\\b"
|
18
18
|
- name: storage.modifier.mips
|
19
|
-
match:
|
19
|
+
match: "\\.(align|extern||globl)\\b"
|
20
20
|
- name: meta.function.label.mips
|
21
|
-
captures:
|
22
|
-
|
21
|
+
captures:
|
22
|
+
'1':
|
23
23
|
name: entity.name.function.label.mips
|
24
24
|
match: "\\b([A-Za-z0-9_]+):"
|
25
25
|
- name: variable.other.register.usable.by-number.mips
|
26
|
-
captures:
|
27
|
-
|
26
|
+
captures:
|
27
|
+
'1':
|
28
28
|
name: punctuation.definition.variable.mips
|
29
|
-
match: (
|
29
|
+
match: "(\\$)(0|[2-9]|1[0-9]|2[0-5]|2[89]|3[0-1])\\b"
|
30
30
|
- name: variable.other.register.usable.by-name.mips
|
31
|
-
captures:
|
32
|
-
|
31
|
+
captures:
|
32
|
+
'1':
|
33
33
|
name: punctuation.definition.variable.mips
|
34
|
-
match: (
|
34
|
+
match: "(\\$)(zero|v[01]|a[0-3]|t[0-9]|s[0-7]|gp|sp|fp|ra)\\b"
|
35
35
|
- name: variable.other.register.reserved.mips
|
36
|
-
captures:
|
37
|
-
|
36
|
+
captures:
|
37
|
+
'1':
|
38
38
|
name: punctuation.definition.variable.mips
|
39
|
-
match: (
|
39
|
+
match: "(\\$)(at|k[01]|1|2[67])\\b"
|
40
40
|
- name: variable.other.register.usable.floating-point.mips
|
41
|
-
captures:
|
42
|
-
|
41
|
+
captures:
|
42
|
+
'1':
|
43
43
|
name: punctuation.definition.variable.mips
|
44
|
-
match: (
|
44
|
+
match: "(\\$)f([0-9]|1[0-9]|2[0-9]|3[0-1])\\b"
|
45
45
|
- name: constant.numeric.float.mips
|
46
|
-
match:
|
46
|
+
match: "\\b\\d+\\.\\d+\\b"
|
47
47
|
- name: constant.numeric.integer.mips
|
48
|
-
match:
|
48
|
+
match: "\\b(\\d+|0(x|X)[a-fA-F0-9]+)\\b"
|
49
49
|
- name: string.quoted.double.mips
|
50
|
-
endCaptures:
|
51
|
-
|
50
|
+
endCaptures:
|
51
|
+
'0':
|
52
52
|
name: punctuation.definition.string.end.mips
|
53
53
|
begin: "\""
|
54
|
-
beginCaptures:
|
55
|
-
|
54
|
+
beginCaptures:
|
55
|
+
'0':
|
56
56
|
name: punctuation.definition.string.begin.mips
|
57
57
|
end: "\""
|
58
|
-
patterns:
|
58
|
+
patterns:
|
59
59
|
- name: constant.character.escape.mips
|
60
|
-
match:
|
60
|
+
match: "\\\\[rnt\\\\\"]"
|
61
61
|
- name: comment.line.number-sign.mips
|
62
|
-
captures:
|
63
|
-
|
62
|
+
captures:
|
63
|
+
'1':
|
64
64
|
name: punctuation.definition.comment.mips
|
65
|
-
match: (#)
|
66
|
-
keyEquivalent: ^~M
|
65
|
+
match: "(#).*$\\n?"
|
66
|
+
keyEquivalent: "^~M"
|
@@ -1,50 +1,44 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: mod_perl
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- conf
|
5
5
|
scopeName: source.apache-config.mod_perl
|
6
6
|
uuid: 6A616B03-1053-49BF-830F-0F4E63DB2447
|
7
|
-
foldingStartMarker:
|
8
|
-
|
9
|
-
(<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)\b.*?>
|
10
|
-
)
|
11
|
-
patterns:
|
7
|
+
foldingStartMarker: "^[ ]*(?x)\n\t\t(<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)\\b.*?>\n\t\t)"
|
8
|
+
patterns:
|
12
9
|
- name: comment.block.documentation.apache-config.mod_perl
|
13
|
-
captures:
|
14
|
-
|
10
|
+
captures:
|
11
|
+
'0':
|
15
12
|
name: punctuation.definition.comment.mod_perl
|
16
|
-
begin: ^=
|
17
|
-
end: ^=cut
|
13
|
+
begin: "^="
|
14
|
+
end: "^=cut"
|
18
15
|
- name: support.constant.apache-config.mod_perl
|
19
|
-
match:
|
16
|
+
match: "\\b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\\b"
|
20
17
|
- name: support.constant.apache-config.mod_perl_1.mod_perl
|
21
|
-
match:
|
18
|
+
match: "\\b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\\b"
|
22
19
|
- name: meta.perl-section.apache-config.mod_perl
|
23
|
-
endCaptures:
|
24
|
-
|
20
|
+
endCaptures:
|
21
|
+
'1':
|
25
22
|
name: meta.tag.apache-config
|
26
|
-
|
23
|
+
'2':
|
27
24
|
name: punctuation.definition.tag.apache-config
|
28
|
-
|
25
|
+
'3':
|
29
26
|
name: entity.name.tag.apache-config
|
30
|
-
|
27
|
+
'4':
|
31
28
|
name: punctuation.definition.tag.apache-config
|
32
|
-
begin:
|
33
|
-
beginCaptures:
|
34
|
-
|
29
|
+
begin: "^\\s*((<)(Perl)(>))"
|
30
|
+
beginCaptures:
|
31
|
+
'1':
|
35
32
|
name: meta.tag.apache-config
|
36
|
-
|
33
|
+
'2':
|
37
34
|
name: punctuation.definition.tag.apache-config
|
38
|
-
|
35
|
+
'3':
|
39
36
|
name: entity.name.tag.apache-config
|
40
|
-
|
37
|
+
'4':
|
41
38
|
name: punctuation.definition.tag.apache-config
|
42
|
-
end:
|
43
|
-
patterns:
|
39
|
+
end: "^\\s*((</)(Perl)(>))"
|
40
|
+
patterns:
|
44
41
|
- include: source.perl
|
45
42
|
- include: source.apache-config
|
46
|
-
foldingStopMarker:
|
47
|
-
|
48
|
-
(</(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)>
|
49
|
-
)
|
50
|
-
keyEquivalent: ^~A
|
43
|
+
foldingStopMarker: "^[ ]*(?x)\n\t\t(</(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)>\n\t\t)"
|
44
|
+
keyEquivalent: "^~A"
|
@@ -1,47 +1,47 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: Modula-3
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- m3
|
5
5
|
- cm3
|
6
6
|
scopeName: source.modula-3
|
7
7
|
uuid: 479D53FA-6ED6-11D9-8471-0011242E4184
|
8
|
-
patterns:
|
8
|
+
patterns:
|
9
9
|
- name: keyword.other.modula-3
|
10
|
-
match:
|
10
|
+
match: "\\b(ANY|ARRAY|AS|BEGIN|BITS|BRANDED|BY|CASE|CONST|DIV|DO|ELSE|ELSIF|END|EVAL|EXCEPT|EXCEPTION|EXIT|EXPORTS|FINALLY|FOR|FROM|GENERIC|IF|IMPORT|INTERFACE|LOCK|LOOP|METHODS|MOD|MODULE|OBJECT|OF|OVERRIDES|PROCEDURE|RAISE|RAISES|READONLY|RECORD|REF|REPEAT|RETURN|REVEAL|ROOT|SET|THEN|TO|TRY|TYPE|TYPECASE|UNSAFE|UNTIL|UNTRACED|VALUE|VAR|WHILE|WITH|IN|NOT|AND|OR)\\b"
|
11
11
|
- name: storage.type.modula-3
|
12
|
-
match:
|
12
|
+
match: "\\b(ABS|ADDRESS|ADR|ADRSIZE|BITSIZE|BOOLEAN|BYTESIZE|CARDINAL|CEILING|CHAR|DEC|DISPOSE|EXTENDED|FIRST|FLOAT|FLOOR|INC|INTEGER|ISTYPE|LAST|LONGREAL|LOOPHOLE|MAX|MIN|MUTEX|NARROW|NEW|NUMBER|ORD|REAL|REFANY|ROUND|SUBARRAY|TEXT|TRUNC|TYPECODE|VAL)\\b"
|
13
13
|
- name: constant.language.modula-3
|
14
|
-
match:
|
14
|
+
match: "\\b(FALSE|NIL|NULL|TRUE)\\b"
|
15
15
|
- name: constant.numeric.modula-3
|
16
|
-
match:
|
16
|
+
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|ll|LL|ull|ULL)?\\b"
|
17
17
|
- name: string.quoted.single.modula-3
|
18
|
-
endCaptures:
|
19
|
-
|
18
|
+
endCaptures:
|
19
|
+
'0':
|
20
20
|
name: punctuation.definition.string.end.modula-3
|
21
21
|
begin: "'"
|
22
|
-
beginCaptures:
|
23
|
-
|
22
|
+
beginCaptures:
|
23
|
+
'0':
|
24
24
|
name: punctuation.definition.string.begin.modula-3
|
25
25
|
end: "'"
|
26
|
-
patterns:
|
26
|
+
patterns:
|
27
27
|
- name: constant.character.escape.modula-3
|
28
|
-
match:
|
28
|
+
match: "\\\\([ntrf\\\\'\"]|([0-7]{3}))"
|
29
29
|
- name: string.quoted.double.modula-3
|
30
|
-
endCaptures:
|
31
|
-
|
30
|
+
endCaptures:
|
31
|
+
'0':
|
32
32
|
name: punctuation.definition.string.end.modula-3
|
33
33
|
begin: "\""
|
34
|
-
beginCaptures:
|
35
|
-
|
34
|
+
beginCaptures:
|
35
|
+
'0':
|
36
36
|
name: punctuation.definition.string.begin.modula-3
|
37
37
|
end: "\""
|
38
|
-
patterns:
|
38
|
+
patterns:
|
39
39
|
- name: constant.character.escape.modula-3
|
40
|
-
match:
|
40
|
+
match: "\\\\([ntrf\\\\'\"]|([0-7]{3}))"
|
41
41
|
- name: comment.block.modula-3
|
42
|
-
captures:
|
43
|
-
|
42
|
+
captures:
|
43
|
+
'0':
|
44
44
|
name: punctuation.definition.comment.modula-3
|
45
|
-
begin:
|
46
|
-
end:
|
47
|
-
keyEquivalent: ^~M
|
45
|
+
begin: "\\(\\*"
|
46
|
+
end: "\\*\\)"
|
47
|
+
keyEquivalent: "^~M"
|
@@ -1,189 +1,189 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: MoinMoin
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- moinmoin
|
5
5
|
scopeName: text.moinmoin
|
6
|
-
repository:
|
7
|
-
inline:
|
8
|
-
patterns:
|
6
|
+
repository:
|
7
|
+
inline:
|
8
|
+
patterns:
|
9
9
|
- name: markup.raw.block.moinmoin
|
10
|
-
captures:
|
11
|
-
|
10
|
+
captures:
|
11
|
+
'0':
|
12
12
|
name: punctuation.definition.raw.moinmoin
|
13
|
-
begin:
|
14
|
-
end:
|
13
|
+
begin: "\\{{3}(?!.*\\}{3})"
|
14
|
+
end: "\\}{3}"
|
15
15
|
- name: markup.raw.inline.moinmoin
|
16
|
-
captures:
|
17
|
-
|
16
|
+
captures:
|
17
|
+
'1':
|
18
18
|
name: punctuation.definition.raw.moinmoin
|
19
|
-
|
19
|
+
'2':
|
20
20
|
name: punctuation.definition.raw.moinmoin
|
21
|
-
|
21
|
+
'3':
|
22
22
|
name: punctuation.definition.raw.moinmoin
|
23
|
-
|
23
|
+
'4':
|
24
24
|
name: punctuation.definition.raw.moinmoin
|
25
|
-
match: (`)[^`]*(`)|({{{).*?(}}})
|
26
|
-
- captures:
|
27
|
-
|
25
|
+
match: "(`)[^`]*(`)|({{{).*?(}}})"
|
26
|
+
- captures:
|
27
|
+
'0':
|
28
28
|
name: punctuation.definition.italic.moinmoin
|
29
29
|
begin: "'{2}(?='{3}[^']*'{3})"
|
30
30
|
contentName: markup.italic.moinmoin
|
31
31
|
end: "'{2}(?!')|'{2}(?='{3})"
|
32
|
-
patterns:
|
32
|
+
patterns:
|
33
33
|
- include: "#inline"
|
34
|
-
- captures:
|
35
|
-
|
34
|
+
- captures:
|
35
|
+
'0':
|
36
36
|
name: punctuation.definition.bold.moinmoin
|
37
37
|
begin: "'{3}"
|
38
38
|
contentName: markup.bold.moinmoin
|
39
39
|
end: "'{3}"
|
40
|
-
patterns:
|
40
|
+
patterns:
|
41
41
|
- include: "#inline"
|
42
|
-
- captures:
|
43
|
-
|
42
|
+
- captures:
|
43
|
+
'0':
|
44
44
|
name: punctuation.definition.italic.moinmoin
|
45
45
|
begin: "'{2}"
|
46
46
|
contentName: markup.italic.moinmoin
|
47
47
|
end: "'{2}(?!')|'{2}(?='{3})"
|
48
|
-
patterns:
|
48
|
+
patterns:
|
49
49
|
- include: "#inline"
|
50
|
-
- captures:
|
51
|
-
|
50
|
+
- captures:
|
51
|
+
'0':
|
52
52
|
name: punctuation.definition.underline.moinmoin
|
53
53
|
begin: __
|
54
54
|
contentName: markup.underline.moinmoin
|
55
55
|
end: __
|
56
|
-
patterns:
|
56
|
+
patterns:
|
57
57
|
- include: "#inline"
|
58
58
|
- name: markup.underline.link.moinmoin
|
59
|
-
match: (
|
59
|
+
match: "(?<!\\!)/?(?:[A-Z][a-z0-9]+[A-Z][a-z0-9]+[A-Za-z0-9]*)"
|
60
60
|
- name: markup.underline.link.moinmoin
|
61
|
-
captures:
|
62
|
-
|
61
|
+
captures:
|
62
|
+
'1':
|
63
63
|
name: punctuation.definition.link.moinmoin
|
64
|
-
|
64
|
+
'2':
|
65
65
|
name: punctuation.definition.link.moinmoin
|
66
|
-
match: (\
|
66
|
+
match: "(\\[\").*?(\"\\])"
|
67
67
|
- name: markup.underline.link.moinmoin
|
68
|
-
captures:
|
69
|
-
|
68
|
+
captures:
|
69
|
+
'1':
|
70
70
|
name: punctuation.definition.link.moinmoin
|
71
|
-
|
71
|
+
'2':
|
72
72
|
name: punctuation.definition.link.moinmoin
|
73
|
-
match: (
|
73
|
+
match: "(\\[):.*?:.*?(\\])"
|
74
74
|
- name: markup.underline.link.moinmoin
|
75
75
|
match: https?://\S+
|
76
76
|
- name: markup.underline.link.moinmoin
|
77
|
-
captures:
|
78
|
-
|
77
|
+
captures:
|
78
|
+
'1':
|
79
79
|
name: punctuation.definition.link.moinmoin
|
80
|
-
|
80
|
+
'2':
|
81
81
|
name: punctuation.definition.link.moinmoin
|
82
|
-
match: (
|
82
|
+
match: "(\\[)https?://.*?(\\])"
|
83
83
|
- name: markup.underline.link.moinmoin
|
84
|
-
captures:
|
85
|
-
|
84
|
+
captures:
|
85
|
+
'1':
|
86
86
|
name: punctuation.separator.key-value.moinmoin
|
87
87
|
match: attachment(:)\S+
|
88
88
|
- name: meta.table.column.moinmoin
|
89
|
-
captures:
|
90
|
-
|
89
|
+
captures:
|
90
|
+
'0':
|
91
91
|
name: punctuation.definition.table.column.moinmoin
|
92
|
-
match:
|
92
|
+
match: "\\|\\|"
|
93
93
|
- name: meta.macro.moinmoin
|
94
|
-
captures:
|
95
|
-
|
94
|
+
captures:
|
95
|
+
'0':
|
96
96
|
name: punctuation.definition.macro.moinmoin
|
97
|
-
match: (
|
97
|
+
match: "(\\[\\[).*?(\\]\\])"
|
98
98
|
uuid: DB315CBC-23FD-4952-9D64-F2AC0618A840
|
99
|
-
patterns:
|
99
|
+
patterns:
|
100
100
|
- name: markup.heading.1.moinmoin
|
101
|
-
captures:
|
102
|
-
|
101
|
+
captures:
|
102
|
+
'1':
|
103
103
|
name: punctuation.definition.heading.moimoin
|
104
|
-
|
104
|
+
'2':
|
105
105
|
name: punctuation.definition.heading.moimoin
|
106
|
-
match:
|
106
|
+
match: "^\\s*(=)\\s.*\\s(=)\\n"
|
107
107
|
- name: markup.heading.2.moinmoin
|
108
|
-
captures:
|
109
|
-
|
108
|
+
captures:
|
109
|
+
'1':
|
110
110
|
name: punctuation.definition.heading.moimoin
|
111
|
-
|
111
|
+
'2':
|
112
112
|
name: punctuation.definition.heading.moimoin
|
113
|
-
match:
|
113
|
+
match: "^\\s*(==)\\s.*\\s(==)\\n"
|
114
114
|
- name: markup.heading.3.moinmoin
|
115
|
-
captures:
|
116
|
-
|
115
|
+
captures:
|
116
|
+
'1':
|
117
117
|
name: punctuation.definition.heading.moimoin
|
118
|
-
|
118
|
+
'2':
|
119
119
|
name: punctuation.definition.heading.moimoin
|
120
|
-
match:
|
120
|
+
match: "^\\s*(===)\\s.*\\s(===)\\n"
|
121
121
|
- name: markup.heading.4.moinmoin
|
122
|
-
captures:
|
123
|
-
|
122
|
+
captures:
|
123
|
+
'1':
|
124
124
|
name: punctuation.definition.heading.moimoin
|
125
|
-
|
125
|
+
'2':
|
126
126
|
name: punctuation.definition.heading.moimoin
|
127
|
-
match:
|
127
|
+
match: "^\\s*(====)\\s.*\\s(====)\\n"
|
128
128
|
- name: markup.heading.5.moinmoin
|
129
|
-
captures:
|
130
|
-
|
129
|
+
captures:
|
130
|
+
'1':
|
131
131
|
name: punctuation.definition.heading.moimoin
|
132
|
-
|
132
|
+
'2':
|
133
133
|
name: punctuation.definition.heading.moimoin
|
134
|
-
match:
|
134
|
+
match: "^\\s*(=====)\\s.*\\s(=====)\\n"
|
135
135
|
- name: meta.separator.moinmoin
|
136
|
-
match:
|
136
|
+
match: "^\\s*-----\\s*\\n"
|
137
137
|
- name: meta.pragma.moimoin
|
138
|
-
match: ^#pragma.*
|
138
|
+
match: "^#pragma.*"
|
139
139
|
- name: comment.line.double-number-sign.moimoin
|
140
|
-
captures:
|
141
|
-
|
140
|
+
captures:
|
141
|
+
'1':
|
142
142
|
name: punctuation.definition.comment.moimoin
|
143
|
-
match: ^(##)
|
144
|
-
- captures:
|
145
|
-
|
143
|
+
match: "^(##).*$\\n?"
|
144
|
+
- captures:
|
145
|
+
'1':
|
146
146
|
name: markup.list.definition.term.moinmoin
|
147
|
-
|
147
|
+
'2':
|
148
148
|
name: punctuation.separator.definition.moinmoin
|
149
|
-
begin:
|
149
|
+
begin: "^\\s+(.*?(::))(?=\\s+\\S)"
|
150
150
|
contentName: markup.list.definition.moinmoin
|
151
|
-
end:
|
152
|
-
patterns:
|
151
|
+
end: "\\n"
|
152
|
+
patterns:
|
153
153
|
- include: "#inline"
|
154
|
-
- captures:
|
155
|
-
|
154
|
+
- captures:
|
155
|
+
'1':
|
156
156
|
name: punctuation.definition.list_item.moinmoin
|
157
|
-
|
157
|
+
'2':
|
158
158
|
name: markup.list.unnumbered.moinmoin
|
159
|
-
begin:
|
159
|
+
begin: "^\\s+(\\*)(\\s)"
|
160
160
|
contentName: markup.list.unnumbered.moinmoin
|
161
|
-
end:
|
162
|
-
patterns:
|
161
|
+
end: "\\n"
|
162
|
+
patterns:
|
163
163
|
- include: "#inline"
|
164
|
-
- captures:
|
165
|
-
|
164
|
+
- captures:
|
165
|
+
'1':
|
166
166
|
name: punctuation.definition.list_item.moinmoin
|
167
|
-
|
167
|
+
'2':
|
168
168
|
name: markup.list.numbered.moinmoin
|
169
|
-
begin:
|
169
|
+
begin: "^\\s+((?:[aAiI]|\\d+)\\.(?:\\#\\d+)?)(\\s)"
|
170
170
|
contentName: markup.list.numbered.moinmoin
|
171
|
-
end:
|
172
|
-
patterns:
|
171
|
+
end: "\\n"
|
172
|
+
patterns:
|
173
173
|
- include: "#inline"
|
174
|
-
- captures:
|
175
|
-
|
174
|
+
- captures:
|
175
|
+
'1':
|
176
176
|
name: punctuation.definition.table.column.moinmoin
|
177
|
-
|
177
|
+
'2':
|
178
178
|
name: punctuation.definition.table.column.moinmoin
|
179
|
-
begin:
|
179
|
+
begin: "^\\s*(\\|\\|)"
|
180
180
|
contentName: meta.table.moinmoin
|
181
|
-
end: (
|
182
|
-
patterns:
|
181
|
+
end: "(\\|\\|$)|\\n"
|
182
|
+
patterns:
|
183
183
|
- include: "#inline"
|
184
184
|
- name: meta.paragraph.moinmoin
|
185
|
-
begin:
|
186
|
-
end:
|
187
|
-
patterns:
|
185
|
+
begin: "^\\s*(?=\\S)"
|
186
|
+
end: "\\n"
|
187
|
+
patterns:
|
188
188
|
- include: "#inline"
|
189
|
-
keyEquivalent: ^~M
|
189
|
+
keyEquivalent: "^~M"
|