textpow 0.10.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +30 -0
- data/{History.txt → History.rdoc} +10 -0
- data/{README.txt → MIT-LICENSE.txt} +0 -30
- data/README.rdoc +82 -0
- data/Rakefile +42 -49
- data/bin/plist2syntax +0 -0
- data/bin/plist2yaml +0 -0
- data/examples/benchmark_js.rb +13 -0
- data/examples/jquery.js +9046 -0
- data/lib/textpow.rb +43 -3
- data/lib/textpow/debug_processor.rb +35 -35
- data/lib/textpow/recording_processor.rb +13 -0
- data/lib/textpow/score_manager.rb +60 -60
- data/lib/textpow/syntax.rb +303 -262
- data/lib/textpow/syntax/broken/markdown.syntax +519 -0
- data/lib/textpow/syntax/broken/php.syntax +1253 -0
- data/lib/textpow/syntax/buggy/nemerle.syntax +74 -0
- data/lib/textpow/syntax/old/YAML.yaml +160 -0
- data/lib/textpow/syntax/old/txt2tags.yaml +139 -0
- data/lib/textpow/syntax/source.actionscript.syntax +97 -0
- data/lib/textpow/syntax/source.active4d.library.syntax +21 -0
- data/lib/textpow/syntax/source.active4d.syntax +276 -0
- data/lib/textpow/syntax/source.ada.syntax +33 -0
- data/lib/textpow/syntax/source.antlr.syntax +151 -0
- data/lib/textpow/syntax/source.apache-config.mod_perl.syntax +50 -0
- data/lib/textpow/syntax/source.apache-config.syntax +191 -0
- data/lib/textpow/syntax/source.applescript.syntax +384 -0
- data/lib/textpow/syntax/source.asp.syntax +70 -0
- data/lib/textpow/syntax/source.asp.vb.net.syntax +129 -0
- data/lib/textpow/syntax/source.c++.qt.syntax +26 -0
- data/lib/textpow/syntax/source.c++.syntax +186 -0
- data/lib/textpow/syntax/source.c-sharp.syntax +59 -0
- data/lib/textpow/syntax/source.c.ragel.syntax +201 -0
- data/lib/textpow/syntax/source.c.syntax +414 -0
- data/lib/textpow/syntax/source.camlp4.ocaml.syntax +36 -0
- data/lib/textpow/syntax/source.cm.syntax +32 -0
- data/lib/textpow/syntax/source.coffee.syntax +216 -0
- data/lib/textpow/syntax/source.context-free.syntax +176 -0
- data/lib/textpow/syntax/source.css.beta.syntax +1925 -0
- data/lib/textpow/syntax/source.css.syntax +195 -0
- data/lib/textpow/syntax/source.d.syntax +142 -0
- data/lib/textpow/syntax/source.diff.syntax +81 -0
- data/lib/textpow/syntax/source.dot.syntax +47 -0
- data/lib/textpow/syntax/source.dylan.syntax +62 -0
- data/lib/textpow/syntax/source.eiffel.syntax +78 -0
- data/lib/textpow/syntax/source.erlang.syntax +922 -0
- data/lib/textpow/syntax/source.fortran.syntax +141 -0
- data/lib/textpow/syntax/source.fscript.syntax +80 -0
- data/lib/textpow/syntax/source.fxscript.syntax +142 -0
- data/lib/textpow/syntax/source.gri.syntax +83 -0
- data/lib/textpow/syntax/source.groovy.groovy.syntax +191 -0
- data/lib/textpow/syntax/source.haskell.syntax +88 -0
- data/lib/textpow/syntax/source.icalendar.syntax +32 -0
- data/lib/textpow/syntax/source.inform.syntax +48 -0
- data/lib/textpow/syntax/source.ini.syntax +55 -0
- data/lib/textpow/syntax/source.io.syntax +81 -0
- data/lib/textpow/syntax/source.java-props.syntax +20 -0
- data/lib/textpow/syntax/source.java.syntax +211 -0
- data/lib/textpow/syntax/source.js.greasemonkey.syntax +34 -0
- data/lib/textpow/syntax/source.js.jquery.syntax +114 -0
- data/lib/textpow/syntax/source.js.mootools.syntax +572 -0
- data/lib/textpow/syntax/source.js.prototype.bracketed.syntax +140 -0
- data/lib/textpow/syntax/source.js.prototype.syntax +72 -0
- data/lib/textpow/syntax/source.js.syntax +256 -0
- data/lib/textpow/syntax/source.js.yui.syntax +176 -0
- data/lib/textpow/syntax/source.json.syntax +136 -0
- data/lib/textpow/syntax/source.lex.syntax +219 -0
- data/lib/textpow/syntax/source.lighttpd-config.syntax +54 -0
- data/lib/textpow/syntax/source.lilypond.syntax +492 -0
- data/lib/textpow/syntax/source.lisp.syntax +61 -0
- data/lib/textpow/syntax/source.logo.syntax +29 -0
- data/lib/textpow/syntax/source.logtalk.syntax +152 -0
- data/lib/textpow/syntax/source.lua.syntax +86 -0
- data/lib/textpow/syntax/source.makefile.syntax +36 -0
- data/lib/textpow/syntax/source.matlab.syntax +142 -0
- data/lib/textpow/syntax/source.mel.syntax +92 -0
- data/lib/textpow/syntax/source.mips.syntax +66 -0
- data/lib/textpow/syntax/source.ml.syntax +121 -0
- data/lib/textpow/syntax/source.modula-3.syntax +47 -0
- data/lib/textpow/syntax/source.nant-build.syntax +53 -0
- data/lib/textpow/syntax/source.objc++.syntax +18 -0
- data/lib/textpow/syntax/source.objc.syntax +233 -0
- data/lib/textpow/syntax/source.ocaml.syntax +764 -0
- data/lib/textpow/syntax/source.ocamllex.syntax +167 -0
- data/lib/textpow/syntax/source.ocamlyacc.syntax +184 -0
- data/lib/textpow/syntax/source.open-gl.syntax +14 -0
- data/lib/textpow/syntax/source.pascal.syntax +77 -0
- data/lib/textpow/syntax/source.pascal.vectorscript.syntax +57 -0
- data/lib/textpow/syntax/source.perl.syntax +1113 -0
- data/lib/textpow/syntax/source.php.cake.syntax +55 -0
- data/lib/textpow/syntax/source.plist.tm-grammar.syntax +708 -0
- data/lib/textpow/syntax/source.postscript.syntax +114 -0
- data/lib/textpow/syntax/source.processing.syntax +106 -0
- data/lib/textpow/syntax/source.prolog.syntax +40 -0
- data/lib/textpow/syntax/source.python.django.syntax +21 -0
- data/lib/textpow/syntax/source.python.syntax +868 -0
- data/lib/textpow/syntax/source.qmake.syntax +114 -0
- data/lib/textpow/syntax/source.quake-config.syntax +32 -0
- data/lib/textpow/syntax/source.r-console.syntax +16 -0
- data/lib/textpow/syntax/source.r.syntax +81 -0
- data/lib/textpow/syntax/source.regexp.oniguruma.syntax +107 -0
- data/lib/textpow/syntax/source.regexp.python.syntax +109 -0
- data/lib/textpow/syntax/source.regexp.syntax +50 -0
- data/lib/textpow/syntax/source.remind.syntax +253 -0
- data/lib/textpow/syntax/source.rez.syntax +80 -0
- data/lib/textpow/syntax/source.ruby.experimental.syntax +145 -0
- data/lib/textpow/syntax/source.ruby.rails.syntax +88 -0
- data/lib/textpow/syntax/source.ruby.syntax +1035 -0
- data/lib/textpow/syntax/source.s5.syntax +69 -0
- data/lib/textpow/syntax/source.sass.syntax +45 -0
- data/lib/textpow/syntax/source.scheme.syntax +347 -0
- data/lib/textpow/syntax/source.scilab.syntax +41 -0
- data/lib/textpow/syntax/source.scss.syntax +527 -0
- data/lib/textpow/syntax/source.shell.syntax +384 -0
- data/lib/textpow/syntax/source.slate.syntax +149 -0
- data/lib/textpow/syntax/source.smarty.syntax +63 -0
- data/lib/textpow/syntax/source.sql.ruby.syntax +18 -0
- data/lib/textpow/syntax/source.sql.syntax +237 -0
- data/lib/textpow/syntax/source.ssh-config.syntax +33 -0
- data/lib/textpow/syntax/source.strings.syntax +39 -0
- data/lib/textpow/syntax/source.swig.syntax +57 -0
- data/lib/textpow/syntax/source.tcl.macports.syntax +163 -0
- data/lib/textpow/syntax/source.tcl.syntax +152 -0
- data/lib/textpow/syntax/source.yaml.syntax +160 -0
- data/lib/textpow/syntax/text.active4d-ini.syntax +50 -0
- data/lib/textpow/syntax/text.bbcode.syntax +287 -0
- data/lib/textpow/syntax/text.bibtex.syntax +151 -0
- data/lib/textpow/syntax/text.blog.html.syntax +41 -0
- data/lib/textpow/syntax/text.blog.markdown.syntax +42 -0
- data/lib/textpow/syntax/text.blog.syntax +27 -0
- data/lib/textpow/syntax/text.blog.textile.syntax +27 -0
- data/lib/textpow/syntax/text.gtdalt.syntax +143 -0
- data/lib/textpow/syntax/text.haml.syntax +88 -0
- data/lib/textpow/syntax/text.html.asp.net.syntax +424 -0
- data/lib/textpow/syntax/text.html.asp.syntax +27 -0
- data/lib/textpow/syntax/text.html.basic.syntax +362 -0
- data/lib/textpow/syntax/text.html.cfm.syntax +119 -0
- data/lib/textpow/syntax/text.html.django.syntax +36 -0
- data/lib/textpow/syntax/text.html.dokuwiki.syntax +204 -0
- data/lib/textpow/syntax/text.html.doxygen.syntax +43 -0
- data/lib/textpow/syntax/text.html.markdown.multimarkdown.syntax +39 -0
- data/lib/textpow/syntax/text.html.mason.syntax +119 -0
- data/lib/textpow/syntax/text.html.mediawiki.syntax +567 -0
- data/lib/textpow/syntax/text.html.mt.syntax +162 -0
- data/lib/textpow/syntax/text.html.ruby.syntax +40 -0
- data/lib/textpow/syntax/text.html.strict.active4d.syntax +311 -0
- data/lib/textpow/syntax/text.html.tcl.syntax +26 -0
- data/lib/textpow/syntax/text.html.textile.syntax +215 -0
- data/lib/textpow/syntax/text.html.tt.syntax +121 -0
- data/lib/textpow/syntax/text.html.twiki.syntax +241 -0
- data/lib/textpow/syntax/text.html.xhtml.1-strict.syntax +4027 -0
- data/lib/textpow/syntax/text.log.latex.syntax +50 -0
- data/lib/textpow/syntax/text.mail.markdown.syntax +118 -0
- data/lib/textpow/syntax/text.man.syntax +17 -0
- data/lib/textpow/syntax/text.moinmoin.syntax +189 -0
- data/lib/textpow/syntax/text.plain.gtd.syntax +22 -0
- data/lib/textpow/syntax/text.plain.release-notes.syntax +46 -0
- data/lib/textpow/syntax/text.plain.syntax +32 -0
- data/lib/textpow/syntax/text.plist.syntax +635 -0
- data/lib/textpow/syntax/text.pmwiki.syntax +113 -0
- data/lib/textpow/syntax/text.restructuredtext.syntax +250 -0
- data/lib/textpow/syntax/text.setext.syntax +147 -0
- data/lib/textpow/syntax/text.subversion-commit.syntax +36 -0
- data/lib/textpow/syntax/text.tabular.csv.syntax +68 -0
- data/lib/textpow/syntax/text.tabular.tsv.syntax +50 -0
- data/lib/textpow/syntax/text.tex.latex.beamer.syntax +41 -0
- data/lib/textpow/syntax/text.tex.latex.haskell.syntax +24 -0
- data/lib/textpow/syntax/text.tex.latex.memoir.syntax +64 -0
- data/lib/textpow/syntax/text.tex.latex.rd.syntax +91 -0
- data/lib/textpow/syntax/text.tex.latex.sweave.syntax +84 -0
- data/lib/textpow/syntax/text.tex.latex.syntax +566 -0
- data/lib/textpow/syntax/text.tex.math.syntax +49 -0
- data/lib/textpow/syntax/text.tex.syntax +86 -0
- data/lib/textpow/syntax/text.txt2tags.syntax +79 -0
- data/lib/textpow/syntax/text.xml.apple-dist.syntax +77 -0
- data/lib/textpow/syntax/text.xml.strict.syntax +92 -0
- data/lib/textpow/syntax/text.xml.syntax +180 -0
- data/lib/textpow/syntax/text.xml.xsl.syntax +60 -0
- data/lib/textpow/version.rb +3 -0
- data/spec/fixtures/objeck.plist +107 -0
- data/spec/fixtures/utf8.txt +1 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/textpow/score_manager_spec.rb +20 -0
- data/spec/textpow/syntax_files_spec.rb +26 -0
- data/spec/textpow/syntax_spec.rb +225 -0
- data/spec/textpow_spec.rb +57 -0
- data/textpow.gemspec +19 -0
- metadata +246 -68
- data/Manifest.txt +0 -13
- data/mm/manual.mm +0 -266
- data/test/test_textpow.rb +0 -25
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
name: HTML (Tcl)
|
3
|
+
fileTypes:
|
4
|
+
- tcl
|
5
|
+
- adp
|
6
|
+
- inc
|
7
|
+
scopeName: text.html.tcl
|
8
|
+
uuid: 42F00A35-6D17-44B8-8C9B-438F9FE9E241
|
9
|
+
foldingStartMarker: (<(?i:(head|table|div|style|script|ul|ol|form|dl))\b.*?>|\{)
|
10
|
+
patterns:
|
11
|
+
- name: source.tcl.embedded.html
|
12
|
+
endCaptures:
|
13
|
+
"0":
|
14
|
+
name: punctuation.section.embedded.end.tcl
|
15
|
+
begin: <%
|
16
|
+
beginCaptures:
|
17
|
+
"0":
|
18
|
+
name: punctuation.section.embedded.begin.tcl
|
19
|
+
end: "%>"
|
20
|
+
patterns:
|
21
|
+
- name: keyword.other.tcl.aolserver
|
22
|
+
match: (env|ns_adp_argc|ns_adp_argv|ns_adp_bind_args|ns_adp_break|ns_adp_debug|ns_adp_dir|ns_adp_dump|ns_adp_eval|ns_adp_exception|ns_adp_include|ns_adp_parse|ns_adp_puts|ns_adp_registertag|ns_adp_return|ns_adp_stream|ns_adp_tell|ns_adp_trunc|ns_atclose|ns_atexit|ns_atshutdown|ns_atsignal|ns_cache_flush|ns_cache_names|ns_cache_size|ns_cache_stats|ns_checkurl|ns_chmod|ns_cond|ns_config|ns_configsection|ns_configsections|ns_conn|ns_conncptofp|ns_connsendfp|ns_cp|ns_cpfp|ns_critsec|ns_crypt|ns_db|ns_dbconfigpath|ns_dberror|ns_dbformvalue|ns_dbformvalueput|ns_dbquotename|ns_dbquotevalue|ns_deleterow|ns_eval|ns_event|ns_ext|ns_findrowbyid|ns_fmttime|ns_ftruncate|ns_getcsv|ns_getform|ns_get_multipart_formdata|ns_geturl|ns_gifsize|ns_gmtime|ns_guesstype|ns_hostbyaddr|ns_hrefs|ns_httpget|ns_httpopen|ns_httptime|ns_info|ns_insertrow|ns_jpegsize|ns_kill|ns_library|ns_link|ns_localsqltimestamp|ns_localtime|ns_log|ns_logroll|ns_markfordelete|ns_mkdir|ns_mktemp|ns_modulepath|ns_mutex|ns_normalizepath|ns_param|ns_parseheader|ns_parsehttptime|ns_parsequery|ns_passwordcheck|ns_perm|ns_permpasswd|ns_pooldescription|ns_puts|ns_queryexists|ns_queryget|ns_querygetall|ns_quotehtml|ns_rand|ns_register_adptag|ns_register_filter|ns_register_proc|ns_register_trace|ns_rename|ns_requestauthorize|ns_respond|ns_return|ns_returnredirect|ns_rmdir|ns_rollfile|ns_rwlock|ns_schedule_daily|ns_schedule_proc|ns_schedule_weekly|ns_section|ns_sema|ns_sendmail|ns_server|ns_set|ns_setexpires|ns_set_precision|ns_share|ns_shutdown|ns_sleep|ns_sockaccept|ns_sockblocking|ns_sockcallback|ns_sockcheck|ns_socketpair|ns_socklistencallback|ns_socknonblocking|ns_socknread|ns_sockopen|ns_sockselect|ns_striphtml|ns_symlink|ns_thread|ns_time|ns_tmpnam|ns_truncate|ns_unlink|ns_unschedule_proc|ns_url2file|ns_urldecode|ns_urlencode|ns_uudecode|ns_uuencode|ns_write|ns_writecontent|ns_writefp|nsv_incr)\b
|
23
|
+
- include: source.tcl
|
24
|
+
- include: text.html.basic
|
25
|
+
foldingStopMarker: (</(?i:(head|table|div|style|script|ul|ol|form|dl))>|\})
|
26
|
+
keyEquivalent: ^~T
|
@@ -0,0 +1,215 @@
|
|
1
|
+
---
|
2
|
+
name: Textile
|
3
|
+
fileTypes:
|
4
|
+
- textile
|
5
|
+
firstLineMatch: textile
|
6
|
+
scopeName: text.html.textile
|
7
|
+
repository:
|
8
|
+
inline:
|
9
|
+
patterns:
|
10
|
+
- name: text.html.textile
|
11
|
+
match: "&(?![A-Za-z0-9]+;)"
|
12
|
+
comment: "& is handled automagically by textile, so we match it to avoid text.html.basic from flagging it"
|
13
|
+
- name: markup.list.unnumbered.textile
|
14
|
+
captures:
|
15
|
+
"1":
|
16
|
+
name: entity.name.type.textile
|
17
|
+
match: ^\*+(\([^)]*\)|{[^}]*})*(\s+|$)
|
18
|
+
- name: markup.list.numbered.textile
|
19
|
+
captures:
|
20
|
+
"1":
|
21
|
+
name: entity.name.type.textile
|
22
|
+
match: ^#+(\([^)]*\)|{[^}]*})*\s+
|
23
|
+
- name: meta.link.reference.textile
|
24
|
+
captures:
|
25
|
+
"1":
|
26
|
+
name: string.other.link.title.textile
|
27
|
+
"2":
|
28
|
+
name: string.other.link.description.title.textile
|
29
|
+
"3":
|
30
|
+
name: constant.other.reference.link.textile
|
31
|
+
match: "(?x)\n\
|
32
|
+
\t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\
|
33
|
+
\t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t# Attributes\n\
|
34
|
+
\t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
|
35
|
+
\t\t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
|
36
|
+
\t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
|
37
|
+
\t\t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
|
38
|
+
\t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
|
39
|
+
\t\t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
|
40
|
+
\t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
|
41
|
+
\t\t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
|
42
|
+
\t\t\t\t\t\t\t\t\t)?\n\
|
43
|
+
\t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t# Link name\n\
|
44
|
+
\t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\
|
45
|
+
\t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\
|
46
|
+
\t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t# End name\n\
|
47
|
+
\t\t\t\t\t\t\t\t(\\w[-\\w_]*)\t\t\t\t\t\t# Linkref\n\
|
48
|
+
\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t# Catch closing punctuation\n\
|
49
|
+
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\
|
50
|
+
\t\t\t\t\t"
|
51
|
+
- name: meta.link.inline.textile
|
52
|
+
captures:
|
53
|
+
"1":
|
54
|
+
name: string.other.link.title.textile
|
55
|
+
"2":
|
56
|
+
name: string.other.link.description.title.textile
|
57
|
+
"3":
|
58
|
+
name: markup.underline.link.textile
|
59
|
+
match: "(?x)\n\
|
60
|
+
\t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\
|
61
|
+
\t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t# Attributes\n\
|
62
|
+
\t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
|
63
|
+
\t\t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
|
64
|
+
\t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
|
65
|
+
\t\t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
|
66
|
+
\t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
|
67
|
+
\t\t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
|
68
|
+
\t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
|
69
|
+
\t\t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
|
70
|
+
\t\t\t\t\t\t\t\t\t)?\n\
|
71
|
+
\t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t# Link name\n\
|
72
|
+
\t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\
|
73
|
+
\t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\
|
74
|
+
\t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t# End Name\n\
|
75
|
+
\t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t# URL\n\
|
76
|
+
\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t# Catch closing punctuation\n\
|
77
|
+
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\
|
78
|
+
\t\t\t\t\t"
|
79
|
+
- name: meta.image.inline.textile
|
80
|
+
captures:
|
81
|
+
"2":
|
82
|
+
name: markup.underline.link.image.textile
|
83
|
+
"3":
|
84
|
+
name: string.other.link.description.textile
|
85
|
+
"4":
|
86
|
+
name: markup.underline.link.textile
|
87
|
+
match: "(?x)\n\
|
88
|
+
\t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Open image\n\
|
89
|
+
\t\t\t\t\t\t\t\t(\\<|\\=|\\>)?\t\t\t\t\t\t\t\t# Optional alignment\n\
|
90
|
+
\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t# Attributes\n\
|
91
|
+
\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
|
92
|
+
\t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
|
93
|
+
\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
|
94
|
+
\t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
|
95
|
+
\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
|
96
|
+
\t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
|
97
|
+
\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
|
98
|
+
\t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
|
99
|
+
\t\t\t\t\t\t\t\t)?\n\
|
100
|
+
\t\t\t\t\t\t\t\t(?:\\.[ ])? \t\t\t\t\t# Optional\n\
|
101
|
+
\t\t\t\t\t\t\t\t([^\\s(!]+?) \t\t\t\t\t# Image URL\n\
|
102
|
+
\t\t\t\t\t\t\t\t\\s? \t\t\t\t\t\t# Optional space\n\
|
103
|
+
\t\t\t\t\t\t\t\t(?:\\(((?:[^\\(\\)]|\\([^\\)]+\\))+?)\\))? \t# Optional title\n\
|
104
|
+
\t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Close image\n\
|
105
|
+
\t\t\t\t\t\t\t\t(?:\n\
|
106
|
+
\t\t\t\t\t\t\t\t\t:\n\
|
107
|
+
\t\t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t\t# URL\n\
|
108
|
+
\t\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t\t# Catch closing punctuation\n\
|
109
|
+
\t\t\t\t\t\t\t\t)?\n\
|
110
|
+
\t\t\t\t\t"
|
111
|
+
- name: markup.other.table.cell.textile
|
112
|
+
captures:
|
113
|
+
"1":
|
114
|
+
name: entity.name.type.textile
|
115
|
+
match: \|(\([^)]*\)|{[^}]*})*(\\\||.)+\|
|
116
|
+
- name: markup.bold.textile
|
117
|
+
captures:
|
118
|
+
"3":
|
119
|
+
name: entity.name.type.textile
|
120
|
+
match: \B(\*\*?)((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\1\B
|
121
|
+
- name: markup.deleted.textile
|
122
|
+
captures:
|
123
|
+
"2":
|
124
|
+
name: entity.name.type.textile
|
125
|
+
match: \B-((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)-\B
|
126
|
+
- name: markup.inserted.textile
|
127
|
+
captures:
|
128
|
+
"2":
|
129
|
+
name: entity.name.type.textile
|
130
|
+
match: \B\+((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\+\B
|
131
|
+
- name: markup.italic.textile
|
132
|
+
captures:
|
133
|
+
"2":
|
134
|
+
name: entity.name.type.textile
|
135
|
+
match: (?:\b|\s)_((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)_(?:\b|\s)
|
136
|
+
- name: markup.italic.phrasemodifiers.textile
|
137
|
+
captures:
|
138
|
+
"3":
|
139
|
+
name: entity.name.type.textile
|
140
|
+
match: \B([@\^~%]|\?\?)((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\1
|
141
|
+
- name: entity.name.tag.textile
|
142
|
+
match: (?<!w)\[[0-9+]\]
|
143
|
+
comment: Footnotes
|
144
|
+
uuid: 68F0B1A5-3274-4E85-8B3A-A481C5F5B194
|
145
|
+
patterns:
|
146
|
+
- name: markup.heading.textile
|
147
|
+
captures:
|
148
|
+
"1":
|
149
|
+
name: entity.name.tag.heading.textile
|
150
|
+
"3":
|
151
|
+
name: entity.name.type.textile
|
152
|
+
"4":
|
153
|
+
name: entity.name.tag.heading.textile
|
154
|
+
begin: (^h[1-6]([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
|
155
|
+
end: ^$
|
156
|
+
patterns:
|
157
|
+
- include: "#inline"
|
158
|
+
- include: text.html.basic
|
159
|
+
- name: markup.quote.textile
|
160
|
+
captures:
|
161
|
+
"1":
|
162
|
+
name: entity.name.tag.blockquote.textile
|
163
|
+
"3":
|
164
|
+
name: entity.name.type.textile
|
165
|
+
"4":
|
166
|
+
name: entity.name.tag.blockquote.textile
|
167
|
+
begin: (^bq([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
|
168
|
+
end: ^$
|
169
|
+
patterns:
|
170
|
+
- include: "#inline"
|
171
|
+
- include: text.html.basic
|
172
|
+
- name: markup.other.footnote.textile
|
173
|
+
captures:
|
174
|
+
"1":
|
175
|
+
name: entity.name.tag.footnote.textile
|
176
|
+
"3":
|
177
|
+
name: entity.name.type.textile
|
178
|
+
"4":
|
179
|
+
name: entity.name.tag.footnote.textile
|
180
|
+
begin: (^fn[0-9]+([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
|
181
|
+
end: ^$
|
182
|
+
patterns:
|
183
|
+
- include: "#inline"
|
184
|
+
- include: text.html.basic
|
185
|
+
- name: markup.other.table.textile
|
186
|
+
captures:
|
187
|
+
"1":
|
188
|
+
name: entity.name.tag.footnote.textile
|
189
|
+
"3":
|
190
|
+
name: entity.name.type.textile
|
191
|
+
"4":
|
192
|
+
name: entity.name.tag.footnote.textile
|
193
|
+
begin: (^table([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
|
194
|
+
end: ^$
|
195
|
+
patterns:
|
196
|
+
- include: "#inline"
|
197
|
+
- include: text.html.basic
|
198
|
+
- name: meta.paragraph.textile
|
199
|
+
begin: ^(?=\S)
|
200
|
+
end: ^$
|
201
|
+
patterns:
|
202
|
+
- name: entity.name.section.paragraph.textile
|
203
|
+
captures:
|
204
|
+
"1":
|
205
|
+
name: entity.name.tag.paragraph.textile
|
206
|
+
"3":
|
207
|
+
name: entity.name.type.textile
|
208
|
+
"4":
|
209
|
+
name: entity.name.tag.paragraph.textile
|
210
|
+
match: (^p([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
|
211
|
+
- include: "#inline"
|
212
|
+
- include: text.html.basic
|
213
|
+
- include: text.html.basic
|
214
|
+
comment: Since html is valid in Textile include the html patterns
|
215
|
+
keyEquivalent: ^~T
|
@@ -0,0 +1,121 @@
|
|
1
|
+
---
|
2
|
+
name: Template Toolkit
|
3
|
+
fileTypes:
|
4
|
+
- tt
|
5
|
+
firstLineMatch: \[%.+?%\]
|
6
|
+
scopeName: text.html.tt
|
7
|
+
repository:
|
8
|
+
tt-stuff:
|
9
|
+
patterns:
|
10
|
+
- name: comment.line.number-sign.tt
|
11
|
+
captures:
|
12
|
+
"1":
|
13
|
+
name: punctuation.definition.comment.tt
|
14
|
+
match: (#).*?(?=%\])
|
15
|
+
- captures:
|
16
|
+
"1":
|
17
|
+
name: string.quoted.double.filename.tt
|
18
|
+
"2":
|
19
|
+
name: punctuation.definition.string.begin.tt
|
20
|
+
"4":
|
21
|
+
name: punctuation.definition.string.begin.tt
|
22
|
+
"5":
|
23
|
+
name: string.unquoted.other.filename.tt
|
24
|
+
match: ((")([a-z][a-z0-9_]+\/)+[a-z0-9_\.]+("))|(\b([a-z][a-z0-9_]+\/)+[a-z0-9_\.]+\b)
|
25
|
+
- include: "#string-double-quoted"
|
26
|
+
- include: "#string-single-quoted"
|
27
|
+
- name: variable.other.tt
|
28
|
+
captures:
|
29
|
+
"1":
|
30
|
+
name: punctuation.definition.variable.tt
|
31
|
+
match: (\$?)\b[a-z]([a-z0-9_]\.?)*\b
|
32
|
+
- name: keyword.control.tt
|
33
|
+
match: \b(?:IF|END|BLOCK|INCLUDE|ELSE|ELSIF|SWITCH|CASE|UNLESS|WRAPPER|FOR|FOREACH|LAST|NEXT|USE|WHILE|FILTER|IN|GET|CALL|SET|INSERT|MACRO|PERL|TRY|CATCH|THROW|FINAL|STOP|META|DEBUG|RAWPERL)\b
|
34
|
+
- name: keyword.operator.tt
|
35
|
+
match: \||\|\||=|_|-|\*|\/|\?|:|div|mod|;|\+
|
36
|
+
tag-stuff:
|
37
|
+
patterns:
|
38
|
+
- include: "#tag-generic-attribute"
|
39
|
+
- include: "#string-double-quoted"
|
40
|
+
- include: "#string-single-quoted"
|
41
|
+
- include: "#keyword"
|
42
|
+
string-double-quoted:
|
43
|
+
name: string.quoted.double.tt
|
44
|
+
endCaptures:
|
45
|
+
"0":
|
46
|
+
name: punctuation.definition.string.end.tt
|
47
|
+
begin: "\""
|
48
|
+
beginCaptures:
|
49
|
+
"0":
|
50
|
+
name: punctuation.definition.string.begin.tt
|
51
|
+
end: "\""
|
52
|
+
patterns:
|
53
|
+
- include: "#embedded-code"
|
54
|
+
- include: "#entities"
|
55
|
+
tmpl-container-tag:
|
56
|
+
patterns:
|
57
|
+
- name: meta.tag.template.tt
|
58
|
+
captures:
|
59
|
+
"0":
|
60
|
+
name: punctuation.definition.tag.tt
|
61
|
+
begin: \[%
|
62
|
+
end: "%\\]"
|
63
|
+
patterns:
|
64
|
+
- include: "#tt-stuff"
|
65
|
+
entities:
|
66
|
+
patterns:
|
67
|
+
- name: constant.character.entity.html
|
68
|
+
captures:
|
69
|
+
"1":
|
70
|
+
name: punctuation.definition.constant.html
|
71
|
+
"3":
|
72
|
+
name: punctuation.definition.constant.html
|
73
|
+
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
74
|
+
- name: invalid.illegal.bad-ampersand.html
|
75
|
+
match: "&"
|
76
|
+
string-single-quoted:
|
77
|
+
name: string.quoted.single.tt
|
78
|
+
endCaptures:
|
79
|
+
"0":
|
80
|
+
name: punctuation.definition.string.end.tt
|
81
|
+
begin: "'"
|
82
|
+
beginCaptures:
|
83
|
+
"0":
|
84
|
+
name: punctuation.definition.string.begin.tt
|
85
|
+
end: "'"
|
86
|
+
patterns:
|
87
|
+
- include: "#embedded-code"
|
88
|
+
- include: "#entities"
|
89
|
+
tag-generic-attribute:
|
90
|
+
name: entity.other.attribute-name.tt
|
91
|
+
captures:
|
92
|
+
"2":
|
93
|
+
name: punctuation.separator.key-value.tt
|
94
|
+
match: \b([a-zA-Z-_:]+)\s*(=)
|
95
|
+
keyword:
|
96
|
+
name: string.unquoted.tt
|
97
|
+
match: \b([A-Za-z0-9_]+)
|
98
|
+
embedded-code: {}
|
99
|
+
|
100
|
+
uuid: 67D0DEC7-9E8C-44B3-8FA5-ADD9BBA05DE3
|
101
|
+
foldingStartMarker: (<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\b.*?>|^ *\[%[^%]*\b(?:FOR|WRAPPER|SWITCH|FOREACH|IF|UNLESS|BLOCK|MACRO|FILTER|PERL|TRY)\b(?!.*END *%\]))
|
102
|
+
patterns:
|
103
|
+
- endCaptures:
|
104
|
+
"0":
|
105
|
+
name: meta.tag.template.tt
|
106
|
+
"1":
|
107
|
+
name: punctuation.definition.tag.tt
|
108
|
+
"2":
|
109
|
+
name: entity.name.tag.tt
|
110
|
+
"3":
|
111
|
+
name: punctuation.definition.tag.tt
|
112
|
+
begin: (?=\[% *(?:RAW)?PERL\b.*? *%\])
|
113
|
+
contentName: source.perl
|
114
|
+
end: (\[%) *(END) *(%\])
|
115
|
+
patterns:
|
116
|
+
- include: "#tmpl-container-tag"
|
117
|
+
- include: source.perl
|
118
|
+
- include: "#tmpl-container-tag"
|
119
|
+
- include: text.html.basic
|
120
|
+
foldingStopMarker: (</(?i:(head|table|tr|div|style|script|ul|ol|form|dl))>|^ *\[% *END *%\])
|
121
|
+
keyEquivalent: ^~T
|
@@ -0,0 +1,241 @@
|
|
1
|
+
---
|
2
|
+
name: Twiki
|
3
|
+
scopeName: text.html.twiki
|
4
|
+
repository:
|
5
|
+
list-paragraph:
|
6
|
+
patterns:
|
7
|
+
- name: markup.list.unnumbered.paragraph
|
8
|
+
begin: \G\s+\S
|
9
|
+
end: ^\s*$
|
10
|
+
patterns:
|
11
|
+
- include: "#inline"
|
12
|
+
- include: text.html.basic
|
13
|
+
inline:
|
14
|
+
patterns:
|
15
|
+
- name: markup.bold.twiki
|
16
|
+
captures:
|
17
|
+
"1":
|
18
|
+
name: punctuation.definition.bold.twiki
|
19
|
+
"2":
|
20
|
+
name: punctuation.definition.bold.twiki
|
21
|
+
match: ([\*])[\s\w :.\?']*([\*])
|
22
|
+
- captures:
|
23
|
+
"6":
|
24
|
+
name: punctuation.definition.italic.twiki
|
25
|
+
"1":
|
26
|
+
name: markup.bold.twiki
|
27
|
+
"2":
|
28
|
+
name: markup.italic.twiki
|
29
|
+
"3":
|
30
|
+
name: punctuation.definition.bold.twiki
|
31
|
+
"4":
|
32
|
+
name: punctuation.definition.italic.twiki
|
33
|
+
"5":
|
34
|
+
name: punctuation.definition.bold.twiki
|
35
|
+
match: ((((__))[\s\w :.\?']*((__))))
|
36
|
+
- name: markup.italic.twiki
|
37
|
+
captures:
|
38
|
+
"1":
|
39
|
+
name: punctuation.definition.italic.twiki
|
40
|
+
"2":
|
41
|
+
name: punctuation.definition.italic.twiki
|
42
|
+
match: \b(_)[\s\w :.\?']*(_)\b
|
43
|
+
- captures:
|
44
|
+
"6":
|
45
|
+
name: punctuation.definition.raw.fixed.twiki
|
46
|
+
"1":
|
47
|
+
name: markup.bold.twiki
|
48
|
+
"2":
|
49
|
+
name: markup.raw.fixed.twiki
|
50
|
+
"3":
|
51
|
+
name: punctuation.definition.bold.twiki
|
52
|
+
"4":
|
53
|
+
name: punctuation.definition.raw.fixed.twiki
|
54
|
+
"5":
|
55
|
+
name: punctuation.definition.bold.twiki
|
56
|
+
match: ((((\=\=))[\s\w :.\?']*((\=\=))))
|
57
|
+
- name: markup.raw.fixed.twiki
|
58
|
+
captures:
|
59
|
+
"1":
|
60
|
+
name: punctuation.definition.raw.fixed.twiki
|
61
|
+
"2":
|
62
|
+
name: punctuation.definition.raw.fixed.twiki
|
63
|
+
match: (\=)[\s\w :.\?']*(\=)
|
64
|
+
- name: variable.other.twiki
|
65
|
+
captures:
|
66
|
+
"1":
|
67
|
+
name: punctuation.definition.variable.twiki
|
68
|
+
"3":
|
69
|
+
name: punctuation.definition.variable.twiki
|
70
|
+
match: (%)([A-Z0-9]+)(%)
|
71
|
+
- name: constant.character.entity.html
|
72
|
+
captures:
|
73
|
+
"1":
|
74
|
+
name: punctuation.definition.constant.twiki
|
75
|
+
"3":
|
76
|
+
name: punctuation.definition.constant.twiki
|
77
|
+
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
78
|
+
- name: meta.link.inline
|
79
|
+
captures:
|
80
|
+
"6":
|
81
|
+
name: punctuation.definition.link.twiki
|
82
|
+
"1":
|
83
|
+
name: punctuation.definition.link.twiki
|
84
|
+
"2":
|
85
|
+
name: markup.underline.link.twiki
|
86
|
+
"3":
|
87
|
+
name: punctuation.definition.link.twiki
|
88
|
+
"4":
|
89
|
+
name: punctuation.definition.link.twiki
|
90
|
+
"5":
|
91
|
+
name: string.other.link.title.twiki
|
92
|
+
match: (\[)([^]]*)(\]) *(\[)(.*?)(\])
|
93
|
+
numlist-paragraph:
|
94
|
+
patterns:
|
95
|
+
- name: markup.list.numbered.paragraph
|
96
|
+
begin: \G\s+\S
|
97
|
+
end: ^\s*$
|
98
|
+
patterns:
|
99
|
+
- include: "#inline"
|
100
|
+
- include: text.html.basic
|
101
|
+
uuid: B2FD7223-BE64-4134-B43D-F7443EA54CCD
|
102
|
+
patterns:
|
103
|
+
- name: string.quoted.double.twiki
|
104
|
+
endCaptures:
|
105
|
+
"0":
|
106
|
+
name: punctuation.definition.string.end.twiki
|
107
|
+
begin: "\""
|
108
|
+
beginCaptures:
|
109
|
+
"0":
|
110
|
+
name: punctuation.definition.string.begin.twiki
|
111
|
+
end: "\""
|
112
|
+
patterns:
|
113
|
+
- name: constant.character.escape.twiki
|
114
|
+
match: \\.
|
115
|
+
- name: markup.heading.twiki
|
116
|
+
captures:
|
117
|
+
"1":
|
118
|
+
name: punctuation.definition.heading.twiki
|
119
|
+
"2":
|
120
|
+
name: entity.name.function.twiki
|
121
|
+
match: ^(-{3}\+{1,6})(.*)$
|
122
|
+
- name: markup.raw.twiki
|
123
|
+
captures:
|
124
|
+
"1":
|
125
|
+
name: punctuation.definition.tag.twiki
|
126
|
+
"2":
|
127
|
+
name: punctuation.definition.tag.twiki
|
128
|
+
"3":
|
129
|
+
name: punctuation.definition.tag.twiki
|
130
|
+
"4":
|
131
|
+
name: punctuation.definition.tag.twiki
|
132
|
+
begin: (<)verbatim(>)|(<)pre(>)
|
133
|
+
end: (</)verbatim(>)|(</)pre(>)
|
134
|
+
patterns:
|
135
|
+
- name: constant.character.escape.twiki
|
136
|
+
match: \\.
|
137
|
+
- name: meta.separator.twiki
|
138
|
+
match: ^-{3,}$\n
|
139
|
+
- name: markup.other.def.twiki
|
140
|
+
captures:
|
141
|
+
"1":
|
142
|
+
name: markup.other.def.term.twiki
|
143
|
+
"2":
|
144
|
+
name: markup.other.def.def.twiki
|
145
|
+
begin: "^ {3}([a-zA-Z0-9]+: )"
|
146
|
+
end: $\n?
|
147
|
+
patterns:
|
148
|
+
- include: "#list-paragraph"
|
149
|
+
- name: markup.other.table.twiki
|
150
|
+
begin: ^(\|)
|
151
|
+
beginCaptures:
|
152
|
+
"1":
|
153
|
+
name: punctuation.definition.table.twiki
|
154
|
+
end: ^(?:\s*$|(?=\s*>|[=-]{3,}$))
|
155
|
+
patterns:
|
156
|
+
- include: "#inline"
|
157
|
+
- name: markup.list.unnumbered.1.twiki
|
158
|
+
begin: ^ {3}(\*)
|
159
|
+
beginCaptures:
|
160
|
+
"1":
|
161
|
+
name: punctuation.definition.list_item.twiki
|
162
|
+
end: $\n?
|
163
|
+
patterns:
|
164
|
+
- include: "#list-paragraph"
|
165
|
+
- name: markup.list.unnumbered.2.twiki
|
166
|
+
begin: ^ {6}(\*)
|
167
|
+
beginCaptures:
|
168
|
+
"1":
|
169
|
+
name: punctuation.definition.list_item.twiki
|
170
|
+
end: $\n?
|
171
|
+
patterns:
|
172
|
+
- include: "#list-paragraph"
|
173
|
+
- name: markup.list.unnumbered.3.twiki
|
174
|
+
begin: ^ {9}(\*)
|
175
|
+
beginCaptures:
|
176
|
+
"1":
|
177
|
+
name: punctuation.definition.list_item.twiki
|
178
|
+
end: $\n?
|
179
|
+
patterns:
|
180
|
+
- include: "#list-paragraph"
|
181
|
+
- name: markup.list.unnumbered.4.twiki
|
182
|
+
begin: ^ {12}(\*)
|
183
|
+
beginCaptures:
|
184
|
+
"1":
|
185
|
+
name: punctuation.definition.list_item.twiki
|
186
|
+
end: $\n?
|
187
|
+
patterns:
|
188
|
+
- include: "#list-paragraph"
|
189
|
+
- name: markup.list.unnumbered.5.twiki
|
190
|
+
begin: ^ {15}(\*)
|
191
|
+
beginCaptures:
|
192
|
+
"1":
|
193
|
+
name: punctuation.definition.list_item.twiki
|
194
|
+
end: $\n?
|
195
|
+
patterns:
|
196
|
+
- include: "#list-paragraph"
|
197
|
+
- name: markup.list.unnumbered.6.twiki
|
198
|
+
begin: ^ {18}(\*)
|
199
|
+
beginCaptures:
|
200
|
+
"1":
|
201
|
+
name: punctuation.definition.list_item.twiki
|
202
|
+
end: $\n?
|
203
|
+
patterns:
|
204
|
+
- include: "#list-paragraph"
|
205
|
+
- name: markup.list.numbered.1.twiki
|
206
|
+
begin: ^ {3}\d
|
207
|
+
end: $\n?
|
208
|
+
patterns:
|
209
|
+
- include: "#numlist-paragraph"
|
210
|
+
- name: markup.list.numbered.2.twiki
|
211
|
+
begin: ^ {6}\d
|
212
|
+
end: $\n?
|
213
|
+
patterns:
|
214
|
+
- include: "#numlist-paragraph"
|
215
|
+
- name: markup.list.numbered.3.twiki
|
216
|
+
begin: ^ {9}\d
|
217
|
+
end: $\n?
|
218
|
+
patterns:
|
219
|
+
- include: "#numlist-paragraph"
|
220
|
+
- name: markup.list.numbered.4.twiki
|
221
|
+
begin: ^ {12}\d
|
222
|
+
end: $\n?
|
223
|
+
patterns:
|
224
|
+
- include: "#numlist-paragraph"
|
225
|
+
- name: markup.list.numbered.5.twiki
|
226
|
+
begin: ^ {15}\d
|
227
|
+
end: $\n?
|
228
|
+
patterns:
|
229
|
+
- include: "#numlist-paragraph"
|
230
|
+
- name: markup.list.numbered.6.twiki
|
231
|
+
begin: ^ {18}\d
|
232
|
+
end: $\n?
|
233
|
+
patterns:
|
234
|
+
- include: "#numlist-paragraph"
|
235
|
+
- name: meta.paragraph.twiki
|
236
|
+
begin: ^(?=\S)
|
237
|
+
end: ^\s*$
|
238
|
+
patterns:
|
239
|
+
- include: "#inline"
|
240
|
+
- include: text.html.basic
|
241
|
+
keyEquivalent: ^~T
|