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,41 +1,29 @@
|
|
1
|
-
---
|
2
|
-
name:
|
3
|
-
fileTypes:
|
1
|
+
---
|
2
|
+
name: Blog — HTML
|
3
|
+
fileTypes:
|
4
4
|
- blog.html
|
5
5
|
firstLineMatch: "^Type: Blog Post \\(HTML\\)"
|
6
6
|
scopeName: text.blog.html
|
7
7
|
uuid: E46F5C50-5D16-4B5C-8FBB-686BD3768284
|
8
|
-
foldingStartMarker:
|
9
|
-
|
10
|
-
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
11
|
-
|<!--(?!.*--\s*>)
|
12
|
-
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
|
13
|
-
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
14
|
-
)
|
15
|
-
patterns:
|
8
|
+
foldingStartMarker: "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*--\\s*>)\n\t\t|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)"
|
9
|
+
patterns:
|
16
10
|
- name: meta.header.blog
|
17
|
-
captures:
|
18
|
-
|
11
|
+
captures:
|
12
|
+
'1':
|
19
13
|
name: keyword.other.blog
|
20
|
-
|
14
|
+
'2':
|
21
15
|
name: punctuation.separator.key-value.blog
|
22
|
-
|
16
|
+
'3':
|
23
17
|
name: string.unquoted.blog
|
24
|
-
match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)
|
18
|
+
match: "^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\\s*(.*)$\\n?"
|
25
19
|
- name: invalid.illegal.meta.header.blog
|
26
|
-
match: ^([A-Za-z0-9]+)
|
20
|
+
match: "^([A-Za-z0-9]+):\\s*(.*)$\\n?"
|
27
21
|
- name: text.html
|
28
|
-
begin: ^(?![A-Za-z0-9]+:)
|
29
|
-
end: ^(?=not)possible$
|
30
|
-
patterns:
|
22
|
+
begin: "^(?![A-Za-z0-9]+:)"
|
23
|
+
end: "^(?=not)possible$"
|
24
|
+
patterns:
|
31
25
|
- name: meta.separator.blog
|
32
|
-
match: "
|
26
|
+
match: "^✂-[✂-]+$\\n"
|
33
27
|
- include: text.html.basic
|
34
|
-
foldingStopMarker:
|
35
|
-
|
36
|
-
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
37
|
-
|^(?!.*?<!--).*?--\s*>
|
38
|
-
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
|
39
|
-
|^[^{]*\}
|
40
|
-
)
|
41
|
-
keyEquivalent: ^~B
|
28
|
+
foldingStopMarker: "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^(?!.*?<!--).*?--\\s*>\n\t\t|\\{\\{?/(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|^[^{]*\\}\n\t\t)"
|
29
|
+
keyEquivalent: "^~B"
|
@@ -1,6 +1,6 @@
|
|
1
|
-
---
|
2
|
-
name:
|
3
|
-
fileTypes:
|
1
|
+
---
|
2
|
+
name: Blog — Markdown
|
3
|
+
fileTypes:
|
4
4
|
- blog.markdown
|
5
5
|
- blog.mdown
|
6
6
|
- blog.mkdn
|
@@ -8,35 +8,25 @@ fileTypes:
|
|
8
8
|
firstLineMatch: "^Type: Blog Post \\(Markdown\\)"
|
9
9
|
scopeName: text.blog.markdown
|
10
10
|
uuid: 6AA68B5B-18B8-4922-9CED-0E2295582955
|
11
|
-
foldingStartMarker:
|
12
|
-
|
13
|
-
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
14
|
-
|<!--(?!.*-->)
|
15
|
-
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
16
|
-
)
|
17
|
-
patterns:
|
11
|
+
foldingStartMarker: "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)"
|
12
|
+
patterns:
|
18
13
|
- name: meta.header.blog
|
19
|
-
captures:
|
20
|
-
|
14
|
+
captures:
|
15
|
+
'1':
|
21
16
|
name: keyword.other.blog
|
22
|
-
|
17
|
+
'2':
|
23
18
|
name: punctuation.separator.key-value.blog
|
24
|
-
|
19
|
+
'3':
|
25
20
|
name: string.unquoted.blog
|
26
|
-
match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)
|
21
|
+
match: "^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\\s*(.*)$\\n?"
|
27
22
|
- name: invalid.illegal.meta.header.blog
|
28
|
-
match: ^([A-Za-z0-9]+)
|
23
|
+
match: "^([A-Za-z0-9]+):\\s*(.*)$\\n?"
|
29
24
|
- name: text.html.markdown
|
30
|
-
begin: ^(?![A-Za-z0-9]+:)
|
31
|
-
end: ^(?=not)possible$
|
32
|
-
patterns:
|
25
|
+
begin: "^(?![A-Za-z0-9]+:)"
|
26
|
+
end: "^(?=not)possible$"
|
27
|
+
patterns:
|
33
28
|
- name: meta.separator.blog
|
34
|
-
match: "
|
29
|
+
match: "^✂-[✂-]+$\\n"
|
35
30
|
- include: text.html.markdown
|
36
|
-
foldingStopMarker:
|
37
|
-
|
38
|
-
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
39
|
-
|^\s*-->
|
40
|
-
|(^|\s)\}
|
41
|
-
)
|
42
|
-
keyEquivalent: ^~B
|
31
|
+
foldingStopMarker: "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)"
|
32
|
+
keyEquivalent: "^~B"
|
@@ -1,27 +1,27 @@
|
|
1
|
-
---
|
2
|
-
name:
|
3
|
-
fileTypes:
|
1
|
+
---
|
2
|
+
name: Blog — Text
|
3
|
+
fileTypes:
|
4
4
|
- blog.txt
|
5
5
|
firstLineMatch: "^Type: Blog Post \\(Text\\)"
|
6
6
|
scopeName: text.blog
|
7
7
|
uuid: B2CCDFF8-0FB3-492A-8761-D31FF0FAC448
|
8
|
-
patterns:
|
8
|
+
patterns:
|
9
9
|
- name: meta.header.blog
|
10
|
-
captures:
|
11
|
-
|
10
|
+
captures:
|
11
|
+
'1':
|
12
12
|
name: keyword.other.blog
|
13
|
-
|
13
|
+
'2':
|
14
14
|
name: punctuation.separator.key-value.blog
|
15
|
-
|
15
|
+
'3':
|
16
16
|
name: string.unquoted.blog
|
17
|
-
match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)
|
17
|
+
match: "^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\\s*(.*)$\\n?"
|
18
18
|
- name: invalid.illegal.meta.header.blog
|
19
|
-
match: ^([A-Za-z0-9]+)
|
19
|
+
match: "^([A-Za-z0-9]+):\\s*(.*)$\\n?"
|
20
20
|
- name: text.plain
|
21
|
-
begin: ^(?![A-Za-z0-9]+:)
|
22
|
-
end: ^(?=not)possible$
|
23
|
-
patterns:
|
21
|
+
begin: "^(?![A-Za-z0-9]+:)"
|
22
|
+
end: "^(?=not)possible$"
|
23
|
+
patterns:
|
24
24
|
- name: meta.separator.blog
|
25
|
-
match: "
|
25
|
+
match: "^✂-[✂-]+$\\n"
|
26
26
|
- include: text.plain
|
27
|
-
keyEquivalent: ^~B
|
27
|
+
keyEquivalent: "^~B"
|
@@ -1,27 +1,27 @@
|
|
1
|
-
---
|
2
|
-
name:
|
3
|
-
fileTypes:
|
1
|
+
---
|
2
|
+
name: Blog — Textile
|
3
|
+
fileTypes:
|
4
4
|
- blog.textile
|
5
5
|
firstLineMatch: "^Type: Blog Post \\(Textile\\)"
|
6
6
|
scopeName: text.blog.textile
|
7
7
|
uuid: 32E65853-CDBD-401A-ADBE-F94F195249BE
|
8
|
-
patterns:
|
8
|
+
patterns:
|
9
9
|
- name: meta.header.blog
|
10
|
-
captures:
|
11
|
-
|
10
|
+
captures:
|
11
|
+
'1':
|
12
12
|
name: keyword.other.blog
|
13
|
-
|
13
|
+
'2':
|
14
14
|
name: punctuation.separator.key-value.blog
|
15
|
-
|
15
|
+
'3':
|
16
16
|
name: string.unquoted.blog
|
17
|
-
match: ^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)
|
17
|
+
match: "^([Tt]itle|[Dd]ate|[Bb]asename|[Kk]eywords|[Bb]log|[Tt]ype|[Ll]ink|[Pp]ost|[Tt]ags|[Cc]omments|[Pp]ings?|[Cc]ategory|[Ss]tatus|[Ff]ormat)(:)\\s*(.*)$\\n?"
|
18
18
|
- name: invalid.illegal.meta.header.blog
|
19
|
-
match: ^([A-Za-z0-9]+)
|
19
|
+
match: "^([A-Za-z0-9]+):\\s*(.*)$\\n?"
|
20
20
|
- name: text.html.textile
|
21
|
-
begin: ^(?![A-Za-z0-9]+:)
|
22
|
-
end: ^(?=not)possible$
|
23
|
-
patterns:
|
21
|
+
begin: "^(?![A-Za-z0-9]+:)"
|
22
|
+
end: "^(?=not)possible$"
|
23
|
+
patterns:
|
24
24
|
- name: meta.separator.blog
|
25
|
-
match: "
|
25
|
+
match: "^✂-[✂-]+$\\n"
|
26
26
|
- include: text.html.textile
|
27
|
-
keyEquivalent: ^~B
|
27
|
+
keyEquivalent: "^~B"
|
@@ -1,53 +1,53 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: NAnt Build File
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- build
|
5
5
|
scopeName: source.nant-build
|
6
6
|
uuid: 1BA72668-707C-11D9-A928-000D93589AF6
|
7
|
-
foldingStartMarker: <[^!?/>]+|<!--
|
8
|
-
patterns:
|
7
|
+
foldingStartMarker: "<[^!?/>]+|<!--"
|
8
|
+
patterns:
|
9
9
|
- name: comment.block.nant
|
10
|
-
captures:
|
11
|
-
|
10
|
+
captures:
|
11
|
+
'0':
|
12
12
|
name: punctuation.definition.comment.nant
|
13
|
-
begin: <!--
|
14
|
-
end: -->
|
13
|
+
begin: "<!--"
|
14
|
+
end: "-->"
|
15
15
|
- name: meta.tag.nant
|
16
|
-
captures:
|
17
|
-
|
16
|
+
captures:
|
17
|
+
'1':
|
18
18
|
name: punctuation.definition.tag.nant
|
19
|
-
|
19
|
+
'2':
|
20
20
|
name: entity.name.tag.nant
|
21
|
-
begin: (</?)([-_a-zA-Z0-9:]+)
|
22
|
-
end: (/?>)
|
23
|
-
patterns:
|
21
|
+
begin: "(</?)([-_a-zA-Z0-9:]+)"
|
22
|
+
end: "(/?>)"
|
23
|
+
patterns:
|
24
24
|
- name: entity.other.attribute-name.nant
|
25
25
|
match: " ([a-zA-Z-]+)"
|
26
26
|
- name: string.quoted.double.nant
|
27
|
-
endCaptures:
|
28
|
-
|
27
|
+
endCaptures:
|
28
|
+
'0':
|
29
29
|
name: punctuation.definition.string.end.nant
|
30
30
|
begin: "\""
|
31
|
-
beginCaptures:
|
32
|
-
|
31
|
+
beginCaptures:
|
32
|
+
'0':
|
33
33
|
name: punctuation.definition.string.begin.nant
|
34
34
|
end: "\""
|
35
35
|
- name: string.quoted.single.nant
|
36
|
-
endCaptures:
|
37
|
-
|
36
|
+
endCaptures:
|
37
|
+
'0':
|
38
38
|
name: punctuation.definition.string.end.nant
|
39
39
|
begin: "'"
|
40
|
-
beginCaptures:
|
41
|
-
|
40
|
+
beginCaptures:
|
41
|
+
'0':
|
42
42
|
name: punctuation.definition.string.begin.nant
|
43
43
|
end: "'"
|
44
44
|
- name: constant.character.entity.nant
|
45
|
-
captures:
|
46
|
-
|
45
|
+
captures:
|
46
|
+
'1':
|
47
47
|
name: punctuation.definition.constant.nant
|
48
|
-
|
48
|
+
'3':
|
49
49
|
name: punctuation.definition.constant.nant
|
50
|
-
match: (&)([a-zA-Z]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
50
|
+
match: "(&)([a-zA-Z]+|#[0-9]+|#x[0-9a-fA-F]+)(;)"
|
51
51
|
- name: invalid.illegal.bad-ampersand.nant
|
52
52
|
match: "&"
|
53
|
-
foldingStopMarker: />|</[^?>]+|-->
|
53
|
+
foldingStopMarker: "/>|</[^?>]+|-->"
|
@@ -1,6 +1,6 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
name: Bulletin Board
|
3
|
-
fileTypes:
|
3
|
+
fileTypes:
|
4
4
|
- bbcode
|
5
5
|
scopeName: text.bbcode
|
6
6
|
uuid: AC4E0E7E-CC15-4394-A858-6C7E3C09C414
|
@@ -10,164 +10,160 @@ foldingStartMarker: |-
|
|
10
10
|
|<!--(?!.*-->)
|
11
11
|
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
12
12
|
)
|
13
|
-
patterns:
|
14
|
-
- captures:
|
15
|
-
|
13
|
+
patterns:
|
14
|
+
- captures:
|
15
|
+
'0':
|
16
16
|
name: meta.tag.bbcode
|
17
|
-
|
17
|
+
'1':
|
18
18
|
name: punctuation.definition.tag.bbcode
|
19
|
-
|
19
|
+
'2':
|
20
20
|
name: punctuation.definition.tag.bbcode
|
21
|
-
begin: (
|
22
|
-
end: (
|
23
|
-
patterns:
|
24
|
-
- captures:
|
25
|
-
|
21
|
+
begin: "(\\[)(?i:list)(\\])"
|
22
|
+
end: "(\\[/)(?i:list)(\\])"
|
23
|
+
patterns:
|
24
|
+
- captures:
|
25
|
+
'0':
|
26
26
|
name: meta.tag.bbcode
|
27
|
-
|
27
|
+
'1':
|
28
28
|
name: punctuation.definition.tag.bbcode
|
29
|
-
begin: (
|
29
|
+
begin: "(\\[\\*\\])"
|
30
30
|
contentName: markup.list.unnumbered.bbcode
|
31
|
-
end: (
|
32
|
-
patterns:
|
33
|
-
- include: $self
|
34
|
-
- endCaptures:
|
35
|
-
|
31
|
+
end: "(?=\\[\\*\\]|\\[/(?i:list)\\])"
|
32
|
+
patterns:
|
33
|
+
- include: "$self"
|
34
|
+
- endCaptures:
|
35
|
+
'0':
|
36
36
|
name: meta.tag.bbcode
|
37
|
-
|
37
|
+
'1':
|
38
38
|
name: punctuation.definition.tag.bbcode
|
39
|
-
|
39
|
+
'2':
|
40
40
|
name: punctuation.definition.tag.bbcode
|
41
|
-
begin: (
|
42
|
-
beginCaptures:
|
43
|
-
|
41
|
+
begin: "(\\[)(?i:list)=(1|a)(\\])"
|
42
|
+
beginCaptures:
|
43
|
+
'0':
|
44
44
|
name: meta.tag.bbcode
|
45
|
-
|
45
|
+
'1':
|
46
46
|
name: punctuation.definition.tag.bbcode
|
47
|
-
|
47
|
+
'2':
|
48
48
|
name: constant.other.list-type.bbcode
|
49
|
-
|
49
|
+
'3':
|
50
50
|
name: punctuation.definition.tag.bbcode
|
51
|
-
end: (
|
52
|
-
patterns:
|
53
|
-
- captures:
|
54
|
-
|
51
|
+
end: "(\\[/)(?i:list)(\\])"
|
52
|
+
patterns:
|
53
|
+
- captures:
|
54
|
+
'0':
|
55
55
|
name: meta.tag.bbcode
|
56
|
-
|
56
|
+
'1':
|
57
57
|
name: punctuation.definition.tag.bbcode
|
58
|
-
begin: (
|
58
|
+
begin: "(\\[\\*\\])"
|
59
59
|
contentName: markup.list.numbered.bbcode
|
60
|
-
end: (
|
61
|
-
patterns:
|
62
|
-
- include: $self
|
63
|
-
- captures:
|
64
|
-
|
60
|
+
end: "(?=\\[\\*\\]|\\[/(?i:list)\\])"
|
61
|
+
patterns:
|
62
|
+
- include: "$self"
|
63
|
+
- captures:
|
64
|
+
'0':
|
65
65
|
name: meta.tag.bbcode
|
66
|
-
|
66
|
+
'1':
|
67
67
|
name: punctuation.definition.tag.bbcode
|
68
|
-
|
68
|
+
'2':
|
69
69
|
name: punctuation.definition.tag.bbcode
|
70
|
-
begin: (
|
70
|
+
begin: "(\\[)(?i:quote)(?:=[^\\]]+)?(\\])"
|
71
71
|
contentName: markup.quote.bbcode
|
72
|
-
end: (
|
73
|
-
patterns:
|
74
|
-
- include: $self
|
75
|
-
- captures:
|
76
|
-
|
72
|
+
end: "(\\[/)(?i:quote)(\\])"
|
73
|
+
patterns:
|
74
|
+
- include: "$self"
|
75
|
+
- captures:
|
76
|
+
'0':
|
77
77
|
name: meta.tag.bbcode
|
78
|
-
|
78
|
+
'1':
|
79
79
|
name: punctuation.definition.tag.bbcode
|
80
|
-
|
80
|
+
'2':
|
81
81
|
name: punctuation.definition.tag.bbcode
|
82
|
-
begin: (
|
82
|
+
begin: "(\\[)(?i:code)(\\])"
|
83
83
|
contentName: markup.raw.block.bbcode
|
84
|
-
end: (
|
85
|
-
- captures:
|
86
|
-
|
84
|
+
end: "(\\[/)(?i:code)(\\])"
|
85
|
+
- captures:
|
86
|
+
'0':
|
87
87
|
name: meta.tag.bbcode
|
88
|
-
|
88
|
+
'1':
|
89
89
|
name: punctuation.definition.tag.bbcode
|
90
|
-
|
90
|
+
'2':
|
91
91
|
name: punctuation.definition.tag.bbcode
|
92
|
-
begin: (
|
92
|
+
begin: "(\\[)(?i:i)(\\])"
|
93
93
|
contentName: markup.italic.bbcode
|
94
|
-
end: (
|
95
|
-
patterns:
|
96
|
-
- include: $self
|
97
|
-
- captures:
|
98
|
-
|
94
|
+
end: "(\\[/)(?i:i)(\\])"
|
95
|
+
patterns:
|
96
|
+
- include: "$self"
|
97
|
+
- captures:
|
98
|
+
'0':
|
99
99
|
name: meta.tag.bbcode
|
100
|
-
|
100
|
+
'1':
|
101
101
|
name: punctuation.definition.tag.bbcode
|
102
|
-
|
102
|
+
'2':
|
103
103
|
name: punctuation.definition.tag.bbcode
|
104
|
-
begin: (
|
104
|
+
begin: "(\\[)(?i:b)(\\])"
|
105
105
|
contentName: markup.bold.bbcode
|
106
|
-
end: (
|
107
|
-
patterns:
|
108
|
-
- include: $self
|
109
|
-
- captures:
|
110
|
-
|
106
|
+
end: "(\\[/)(?i:b)(\\])"
|
107
|
+
patterns:
|
108
|
+
- include: "$self"
|
109
|
+
- captures:
|
110
|
+
'0':
|
111
111
|
name: meta.tag.bbcode
|
112
|
-
|
112
|
+
'1':
|
113
113
|
name: punctuation.definition.tag.bbcode
|
114
|
-
|
114
|
+
'2':
|
115
115
|
name: punctuation.definition.tag.bbcode
|
116
|
-
begin: (
|
116
|
+
begin: "(\\[)(?i:u)(\\])"
|
117
117
|
contentName: markup.underline.bbcode
|
118
|
-
end: (
|
119
|
-
patterns:
|
120
|
-
- include: $self
|
121
|
-
- captures:
|
122
|
-
|
118
|
+
end: "(\\[/)(?i:u)(\\])"
|
119
|
+
patterns:
|
120
|
+
- include: "$self"
|
121
|
+
- captures:
|
122
|
+
'0':
|
123
123
|
name: meta.tag.bbcode
|
124
|
-
|
124
|
+
'1':
|
125
125
|
name: punctuation.definition.tag.bbcode
|
126
|
-
|
126
|
+
'2':
|
127
127
|
name: punctuation.definition.tag.bbcode
|
128
|
-
begin: (
|
128
|
+
begin: "(\\[)(?i:strike)(\\])"
|
129
129
|
contentName: markup.other.strikethrough.bbcode
|
130
|
-
end: (
|
131
|
-
patterns:
|
132
|
-
- include: $self
|
133
|
-
- endCaptures:
|
134
|
-
|
130
|
+
end: "(\\[/)(?i:strike)(\\])"
|
131
|
+
patterns:
|
132
|
+
- include: "$self"
|
133
|
+
- endCaptures:
|
134
|
+
'0':
|
135
135
|
name: meta.tag.bbcode
|
136
|
-
|
136
|
+
'1':
|
137
137
|
name: punctuation.definition.tag.bbcode
|
138
|
-
|
138
|
+
'2':
|
139
139
|
name: punctuation.definition.tag.bbcode
|
140
|
-
begin:
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|purple|brown|grey))
|
145
|
-
|(\#([0-9a-fA-F]{6}))
|
146
|
-
|([^\]]+))
|
147
|
-
(\])
|
140
|
+
begin: "(?x)(\\[)(?i:color)=(\n\t\t (?i:(red|green|blue|yellow\n\t\t
|
141
|
+
\ |white|black|pink\n\t\t |purple|brown|grey))\n
|
142
|
+
\ |(\\#([0-9a-fA-F]{6}))\n |([^\\]]+))\n
|
143
|
+
\ (\\])"
|
148
144
|
contentName: markup.other.colored.bbcode
|
149
|
-
beginCaptures:
|
150
|
-
|
145
|
+
beginCaptures:
|
146
|
+
'6':
|
151
147
|
name: invalid.illegal.expected-a-color.bbcode
|
152
|
-
|
148
|
+
'7':
|
153
149
|
name: punctuation.definition.tag.bbcode
|
154
|
-
|
150
|
+
'0':
|
155
151
|
name: meta.tag.bbcode
|
156
|
-
|
152
|
+
'1':
|
157
153
|
name: punctuation.definition.tag.bbcode
|
158
|
-
|
154
|
+
'2':
|
159
155
|
name: constant.other.named-color.bbcode
|
160
|
-
|
156
|
+
'3':
|
161
157
|
name: constant.other.rgb-value.bbcode
|
162
|
-
end: (
|
163
|
-
patterns:
|
164
|
-
- include: $self
|
165
|
-
- endCaptures:
|
166
|
-
|
158
|
+
end: "(\\[/)(?i:color)(\\])"
|
159
|
+
patterns:
|
160
|
+
- include: "$self"
|
161
|
+
- endCaptures:
|
162
|
+
'0':
|
167
163
|
name: meta.tag.bbcode
|
168
|
-
|
164
|
+
'1':
|
169
165
|
name: punctuation.definition.tag.bbcode
|
170
|
-
|
166
|
+
'2':
|
171
167
|
name: punctuation.definition.tag.bbcode
|
172
168
|
begin: |-
|
173
169
|
(?x)(\[)(?i:size)=
|
@@ -175,113 +171,104 @@ patterns:
|
|
175
171
|
|([^\]]+))
|
176
172
|
(\])
|
177
173
|
contentName: markup.other.resized.bbcode
|
178
|
-
beginCaptures:
|
179
|
-
|
174
|
+
beginCaptures:
|
175
|
+
'0':
|
180
176
|
name: meta.tag.bbcode
|
181
|
-
|
177
|
+
'1':
|
182
178
|
name: punctuation.definition.tag.bbcode
|
183
|
-
|
179
|
+
'2':
|
184
180
|
name: constant.numeric.size.bbcode
|
185
|
-
|
181
|
+
'3':
|
186
182
|
name: invalid.illegal.expected-a-size.bbcode
|
187
|
-
|
183
|
+
'4':
|
188
184
|
name: punctuation.definition.tag.bbcode
|
189
|
-
end: (
|
190
|
-
patterns:
|
191
|
-
- include: $self
|
185
|
+
end: "(\\[/)(?i:size)(\\])"
|
186
|
+
patterns:
|
187
|
+
- include: "$self"
|
192
188
|
- name: meta.link.inline.bbcode
|
193
|
-
endCaptures:
|
194
|
-
|
189
|
+
endCaptures:
|
190
|
+
'0':
|
195
191
|
name: meta.tag.bbcode
|
196
|
-
|
192
|
+
'1':
|
197
193
|
name: punctuation.definition.tag.bbcode
|
198
|
-
|
194
|
+
'2':
|
199
195
|
name: punctuation.definition.tag.bbcode
|
200
|
-
begin: (
|
196
|
+
begin: "(\\[)(?i:url)=([^\\]]+)(\\])"
|
201
197
|
contentName: string.other.link.title.bbcode
|
202
|
-
beginCaptures:
|
203
|
-
|
198
|
+
beginCaptures:
|
199
|
+
'0':
|
204
200
|
name: meta.tag.bbcode
|
205
|
-
|
201
|
+
'1':
|
206
202
|
name: punctuation.definition.tag.bbcode
|
207
|
-
|
203
|
+
'2':
|
208
204
|
name: markup.underline.link.bbcode
|
209
|
-
|
205
|
+
'3':
|
210
206
|
name: punctuation.definition.tag.bbcode
|
211
|
-
end: (
|
212
|
-
patterns:
|
213
|
-
- include: $self
|
207
|
+
end: "(\\[/)(?i:url)(\\])"
|
208
|
+
patterns:
|
209
|
+
- include: "$self"
|
214
210
|
- name: meta.link.inline.bbcode
|
215
|
-
captures:
|
216
|
-
|
211
|
+
captures:
|
212
|
+
'0':
|
217
213
|
name: meta.tag.bbcode
|
218
|
-
|
214
|
+
'1':
|
219
215
|
name: punctuation.definition.tag.bbcode
|
220
|
-
|
216
|
+
'2':
|
221
217
|
name: punctuation.definition.tag.bbcode
|
222
|
-
begin: (
|
218
|
+
begin: "(\\[)(?i:url)(\\])"
|
223
219
|
contentName: markup.underline.link.bbcode
|
224
|
-
end: (
|
225
|
-
patterns:
|
220
|
+
end: "(\\[/)(?i:url)(\\])"
|
221
|
+
patterns:
|
226
222
|
- match: "[\\[]]+"
|
227
223
|
- name: meta.link.inline.bbcode
|
228
|
-
captures:
|
229
|
-
|
224
|
+
captures:
|
225
|
+
'0':
|
230
226
|
name: meta.tag.bbcode
|
231
|
-
|
227
|
+
'1':
|
232
228
|
name: punctuation.definition.tag.bbcode
|
233
|
-
|
229
|
+
'2':
|
234
230
|
name: punctuation.definition.tag.bbcode
|
235
|
-
begin: (
|
231
|
+
begin: "(\\[)(?i:email)(\\])"
|
236
232
|
contentName: markup.underline.link.email.bbcode
|
237
|
-
end: (
|
238
|
-
patterns:
|
233
|
+
end: "(\\[/)(?i:email)(\\])"
|
234
|
+
patterns:
|
239
235
|
- match: "[\\[]]+"
|
240
236
|
- name: meta.link.image.bbcode
|
241
|
-
endCaptures:
|
242
|
-
|
237
|
+
endCaptures:
|
238
|
+
'0':
|
243
239
|
name: meta.tag.bbcode
|
244
|
-
|
240
|
+
'1':
|
245
241
|
name: punctuation.definition.tag.bbcode
|
246
|
-
|
242
|
+
'2':
|
247
243
|
name: punctuation.definition.tag.bbcode
|
248
|
-
begin: (
|
244
|
+
begin: "(\\[)(?i:img)(:((?i:right|left|top))|([^\\]]+))?(\\])"
|
249
245
|
contentName: markup.underline.link.image.bbcode
|
250
|
-
beginCaptures:
|
251
|
-
|
246
|
+
beginCaptures:
|
247
|
+
'0':
|
252
248
|
name: meta.tag.bbcode
|
253
|
-
|
249
|
+
'1':
|
254
250
|
name: punctuation.definition.tag.bbcode
|
255
|
-
|
251
|
+
'3':
|
256
252
|
name: constant.other.alignment.bbcode
|
257
|
-
|
253
|
+
'4':
|
258
254
|
name: invalid.illegal.expected-an-alignment.bbcode
|
259
|
-
|
255
|
+
'5':
|
260
256
|
name: punctuation.definition.tag.bbcode
|
261
|
-
end: (
|
262
|
-
patterns:
|
257
|
+
end: "(\\[/)(?i:img)(\\])"
|
258
|
+
patterns:
|
263
259
|
- match: "[\\[]]+?"
|
264
260
|
- name: constant.other.smiley.bbcode
|
265
|
-
captures:
|
266
|
-
|
261
|
+
captures:
|
262
|
+
'3':
|
267
263
|
name: punctuation.definition.constant.bbcode
|
268
|
-
|
264
|
+
'5':
|
269
265
|
name: punctuation.definition.constant.bbcode
|
270
|
-
match:
|
271
|
-
(
|
272
|
-
(
|
273
|
-
(
|
274
|
-
(:)
|
275
|
-
(mad|rolleyes|cool|eek|confused|devious|
|
276
|
-
judge|scared|eyebrow|bigdumbgrin)
|
277
|
-
(:)
|
278
|
-
)
|
279
|
-
| (?::\)|;\)|:D|:\(|:p|:o)
|
280
|
-
)
|
266
|
+
match: "(?x)\n\t\t\t\t(\n\t\t\t\t\t(\n\t\t\t\t\t\t(:)\n\t\t\t\t\t\t(mad|rolleyes|cool|eek|confused|devious|\n\t\t\t\t\t\tjudge|scared|eyebrow|bigdumbgrin)\n\t\t\t\t\t\t(:)\n\t\t\t\t\t)\n\t\t\t\t
|
267
|
+
\ | (?::\\)|;\\)|:D|:\\(|:p|:o)\n\t\t\t\t)"
|
281
268
|
foldingStopMarker: |-
|
282
269
|
(?x)
|
283
270
|
(\[/(?i:quote|code|list)\b.*?\]
|
284
271
|
|^\s*-->
|
285
272
|
|(^|\s)\}
|
286
273
|
)
|
287
|
-
keyEquivalent: ^~B
|
274
|
+
keyEquivalent: "^~B"
|