ver 2009.10.14 → 2009.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1094 -0
- data/MANIFEST +227 -25
- data/README.textile +185 -0
- data/bin/ver +96 -12
- data/config/detect.rb +73 -21
- data/config/keymap/emacs.rb +66 -0
- data/config/keymap/vim.rb +250 -140
- data/config/preferences/ANTLR.json +10 -0
- data/config/preferences/ASP vb.NET.json +3 -0
- data/config/preferences/ASP.json +15 -0
- data/config/preferences/ActionScript.json +755 -0
- data/config/preferences/Active4D.json +89 -0
- data/config/preferences/Ada.json +23 -0
- data/config/preferences/Ant.json +356 -0
- data/config/preferences/Apache.json +644 -0
- data/config/preferences/AppleScript.json +92 -0
- data/config/preferences/Bison.json +3 -0
- data/config/preferences/Blogging.json +3 -0
- data/config/preferences/C.json +127 -0
- data/config/preferences/CMake.json +41 -0
- data/config/preferences/CSS.json +461 -0
- data/config/preferences/CTags.json +3 -0
- data/config/preferences/CVS.json +3 -0
- data/config/preferences/ColdFusion.json +32 -0
- data/config/preferences/D.json +58 -0
- data/config/preferences/Darcs.json +3 -0
- data/config/preferences/Diff.json +67 -0
- data/config/preferences/DokuWiki.json +19 -0
- data/config/preferences/Doxygen.json +3 -0
- data/config/preferences/Dylan.json +3 -0
- data/config/preferences/Eiffel.json +59 -0
- data/config/preferences/Erlang.json +72 -0
- data/config/preferences/Experimental.json +1356 -0
- data/config/preferences/F-Script.json +87 -0
- data/config/preferences/FXScript.json +78 -0
- data/config/preferences/FileMerge.json +3 -0
- data/config/preferences/Fortran.json +158 -0
- data/config/preferences/GTD2.json +11 -0
- data/config/preferences/GTDAlt.json +20 -0
- data/config/preferences/GetBundle.json +3 -0
- data/config/preferences/Gettext.json +24 -0
- data/config/preferences/Graphviz.json +42 -0
- data/config/preferences/Greasemonkey.json +3 -0
- data/config/preferences/Gri.json +34 -0
- data/config/preferences/HTML.json +492 -0
- data/config/preferences/Haskell.json +72 -0
- data/config/preferences/Hotkey.json +3 -0
- data/config/preferences/ImageBrowser.json +3 -0
- data/config/preferences/Inform.json +3 -0
- data/config/preferences/Ini.json +60 -0
- data/config/preferences/Installer.json +3 -0
- data/config/preferences/Io.json +64 -0
- data/config/preferences/JSON.json +3 -0
- data/config/preferences/Java.json +86 -0
- data/config/preferences/JavaDoc.json +3 -0
- data/config/preferences/JavaScript.json +76 -0
- data/config/preferences/LaTeX.json +267 -0
- data/config/preferences/Lex/Flex.json +3 -0
- data/config/preferences/Lighttpd.json +3 -0
- data/config/preferences/LilyPond.json +77 -0
- data/config/preferences/Lisp.json +63 -0
- data/config/preferences/Logo.json +58 -0
- data/config/preferences/Logtalk.json +236 -0
- data/config/preferences/Lua.json +24 -0
- data/config/preferences/MEL.json +19 -0
- data/config/preferences/MIPS Assembler.json +26 -0
- data/config/preferences/MacPorts.json +3 -0
- data/config/preferences/Mail.json +3 -0
- data/config/preferences/Make.json +16 -0
- data/config/preferences/Markdown.json +102 -0
- data/config/preferences/Math.json +3 -0
- data/config/preferences/Matlab.json +128 -0
- data/config/preferences/Maven.json +308 -0
- data/config/preferences/Mediawiki.json +73 -0
- data/config/preferences/Mercurial.json +3 -0
- data/config/preferences/Modula.json +37 -0
- data/config/preferences/MoinMoin.json +52 -0
- data/config/preferences/Navigation.json +3 -0
- data/config/preferences/Nemerle.json +3 -0
- data/config/preferences/OCaml Code Completion.json +3 -0
- data/config/preferences/OCaml.json +163 -0
- data/config/preferences/ODCompletion.json +3 -0
- data/config/preferences/Objective-C.json +84 -0
- data/config/preferences/OpenGL.json +3331 -0
- data/config/preferences/Outlines.json +3 -0
- data/config/preferences/Pascal.json +60 -0
- data/config/preferences/Perforce.json +3 -0
- data/config/preferences/Perl.json +15 -0
- data/config/preferences/PmWiki.json +27 -0
- data/config/preferences/Postscript.json +15 -0
- data/config/preferences/Processing.json +32 -0
- data/config/preferences/Prolog.json +3 -0
- data/config/preferences/Propel.json +3 -0
- data/config/preferences/Python.json +38 -0
- data/config/preferences/Quake.json +15 -0
- data/config/preferences/R.json +33 -0
- data/config/preferences/Ragel.json +15 -0
- data/config/preferences/Regular Expressions.json +3 -0
- data/config/preferences/Remind.json +15 -0
- data/config/preferences/Rez.json +46 -0
- data/config/preferences/Ruby.json +98 -0
- data/config/preferences/S5 Slide Show.json +20 -0
- data/config/preferences/SCons.json +3 -0
- data/config/preferences/SQL.json +32 -0
- data/config/preferences/SSH Config.json +15 -0
- data/config/preferences/SVK.json +3 -0
- data/config/preferences/SWIG.json +3 -0
- data/config/preferences/SWeave.json +32 -0
- data/config/preferences/Scheme.json +35 -0
- data/config/preferences/Scilab.json +15 -0
- data/config/preferences/Setext.json +3 -0
- data/config/preferences/Shell Script.json +25 -0
- data/config/preferences/Slate.json +113 -0
- data/config/preferences/Source.json +132 -0
- data/config/preferences/Subversion.json +10 -0
- data/config/preferences/TODO.json +3 -0
- data/config/preferences/Tabular.json +3 -0
- data/config/preferences/Tcl.json +82 -0
- data/config/preferences/TerminalMate.json +112 -0
- data/config/preferences/Text.json +89 -0
- data/config/preferences/TextMate.json +38 -0
- data/config/preferences/Textile.json +76 -0
- data/config/preferences/Thrift.json +56 -0
- data/config/preferences/Transmit.json +3 -0
- data/config/preferences/Twiki.json +51 -0
- data/config/preferences/Txt2tags.json +81 -0
- data/config/preferences/Vectorscript.json +1280 -0
- data/config/preferences/XML.json +60 -0
- data/config/preferences/Xcode.json +3 -0
- data/config/preferences/YAML.json +24 -0
- data/config/preferences/iCalendar.json +10 -0
- data/config/preferences/iTerm.json +36 -0
- data/config/preferences/reStructuredText.json +48 -0
- data/config/rc.rb +49 -0
- data/config/syntax/ANTLR.json +5 -5
- data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
- data/config/syntax/ASP.json +1 -1
- data/config/syntax/ActionScript.json +6 -6
- data/config/syntax/Active4D Config.json +86 -0
- data/config/syntax/Active4D Library.json +20 -0
- data/config/syntax/Active4D.json +418 -0
- data/config/syntax/Ada.json +3 -3
- data/config/syntax/Ant.json +196 -0
- data/config/syntax/Apache.json +7 -7
- data/config/syntax/AppleScript.json +3 -3
- data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
- data/config/syntax/Bison.json +59 -0
- data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
- data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
- data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
- data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
- data/config/syntax/C++.json +3 -3
- data/config/syntax/C.json +13 -13
- data/config/syntax/CMake Listfile.json +171 -0
- data/config/syntax/CSS.json +6 -6
- data/config/syntax/CSV.json +108 -0
- data/config/syntax/ColdFusion.json +204 -0
- data/config/syntax/D.json +560 -0
- data/config/syntax/Diff.json +1 -1
- data/config/syntax/DokuWiki.json +412 -0
- data/config/syntax/Doxygen.json +80 -0
- data/config/syntax/Dylan.json +4 -4
- data/config/syntax/Erlang.json +5 -5
- data/config/syntax/F-Script.json +1 -1
- data/config/syntax/FXScript.json +5 -5
- data/config/syntax/Fortran - Modern.json +221 -0
- data/config/syntax/Fortran - Punchcard.json +468 -0
- data/config/syntax/GTD.json +39 -0
- data/config/syntax/GTDalt.json +233 -0
- data/config/syntax/Gettext.json +118 -0
- data/config/syntax/Go.json +555 -0
- data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
- data/config/syntax/Greasemonkey.json +56 -0
- data/config/syntax/Gri.json +4 -4
- data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
- data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
- data/config/syntax/HTML (Active4D).json +540 -0
- data/config/syntax/HTML (Erlang).json +31 -0
- data/config/syntax/HTML (Tcl).json +1 -1
- data/config/syntax/HTML.json +20 -20
- data/config/syntax/Haskell.json +3 -3
- data/config/syntax/Installer Distribution Script.json +135 -0
- data/config/syntax/Io.json +6 -6
- data/config/syntax/JSON.json +151 -0
- data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
- data/config/syntax/Java Server Page (JSP).json +163 -0
- data/config/syntax/Java.json +7 -7
- data/config/syntax/JavaDoc.json +435 -0
- data/config/syntax/JavaScript.json +8 -8
- data/config/syntax/LaTeX Log.json +3 -3
- data/config/syntax/LaTeX Memoir.json +101 -0
- data/config/syntax/LaTeX.json +2 -2
- data/config/syntax/Lex-Flex.json +396 -0
- data/config/syntax/LilyPond.json +608 -0
- data/config/syntax/Logo.json +48 -0
- data/config/syntax/Logtalk.json +6 -6
- data/config/syntax/Lua.json +1 -1
- data/config/syntax/{M.json → MATLAB.json} +3 -3
- data/config/syntax/MEL.json +7 -7
- data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
- data/config/syntax/MacPorts Portfile.json +298 -0
- data/config/syntax/Mail.json +1 -1
- data/config/syntax/Markdown.json +6 -6
- data/config/syntax/Maven POM.json +774 -0
- data/config/syntax/Mediawiki.json +736 -0
- data/config/syntax/MoinMoin.json +335 -0
- data/config/syntax/MultiMarkdown.json +41 -0
- data/config/syntax/Nemerle.json +128 -0
- data/config/syntax/OCaml.json +4 -4
- data/config/syntax/OCamllex.json +307 -0
- data/config/syntax/OCamlyacc.json +346 -0
- data/config/syntax/Objective-C++.json +2 -2
- data/config/syntax/Objective-C.json +979 -0
- data/config/syntax/Octave.json +417 -0
- data/config/syntax/PHP.json +32 -32
- data/config/syntax/Pascal.json +1 -1
- data/config/syntax/Perl.json +8 -8
- data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
- data/config/syntax/PmWiki.json +241 -0
- data/config/syntax/Postscript.json +206 -0
- data/config/syntax/Processing.json +8 -8
- data/config/syntax/Prolog.json +70 -0
- data/config/syntax/Python.json +1934 -0
- data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
- data/config/syntax/R.json +2 -2
- data/config/syntax/Ragel.json +362 -0
- data/config/syntax/Rd (R Documentation).json +119 -0
- data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
- data/config/syntax/Regular Expressions (Python).json +188 -0
- data/config/syntax/Release Notes.json +78 -0
- data/config/syntax/Remind.json +461 -0
- data/config/syntax/Rez.json +5 -5
- data/config/syntax/Ruby Sass.json +497 -0
- data/config/syntax/Ruby.json +13 -13
- data/config/syntax/S5 Slide Show.json +85 -0
- data/config/syntax/SQL.json +11 -11
- data/config/syntax/SSH Config.json +55 -0
- data/config/syntax/SWIG.json +2 -2
- data/config/syntax/SWeave.json +139 -0
- data/config/syntax/Scheme.json +8 -8
- data/config/syntax/Scilab.json +69 -0
- data/config/syntax/Setext.json +247 -0
- data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
- data/config/syntax/Slate.json +5 -5
- data/config/syntax/Strings File.json +53 -0
- data/config/syntax/TSV.json +83 -0
- data/config/syntax/Tcl.json +1 -1
- data/config/syntax/TeX Math.json +2 -2
- data/config/syntax/TeX.json +2 -2
- data/config/syntax/Textile.json +9 -9
- data/config/syntax/Thrift.json +641 -0
- data/config/syntax/Twiki.json +1 -1
- data/config/syntax/Txt2tags.json +154 -0
- data/config/syntax/XML strict.json +4 -4
- data/config/syntax/XML.json +6 -6
- data/config/syntax/XSL.json +2 -2
- data/config/syntax/camlp4.json +63 -0
- data/config/syntax/mod_perl.json +72 -0
- data/config/syntax/reStructuredText.json +1 -1
- data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
- data/config/tutorial +23 -19
- data/config/welcome +3 -3
- data/lib/ver.rb +273 -62
- data/lib/ver/entry.rb +142 -26
- data/lib/ver/font.rb +51 -0
- data/lib/ver/help.rb +16 -0
- data/lib/ver/help/describe_key.rb +82 -0
- data/lib/ver/help/help_for_help.rb +39 -0
- data/lib/ver/hover_completion.rb +129 -0
- data/lib/ver/keymap.rb +95 -24
- data/lib/ver/layout.rb +107 -43
- data/lib/ver/methods.rb +24 -8
- data/lib/ver/methods/clipboard.rb +91 -0
- data/lib/ver/methods/completion.rb +146 -71
- data/lib/ver/methods/control.rb +203 -222
- data/lib/ver/methods/ctags.rb +55 -0
- data/lib/ver/methods/delete.rb +30 -0
- data/lib/ver/methods/help.rb +7 -0
- data/lib/ver/methods/insert.rb +233 -1
- data/lib/ver/methods/move.rb +181 -32
- data/lib/ver/methods/open.rb +208 -0
- data/lib/ver/methods/preview.rb +14 -0
- data/lib/ver/methods/save.rb +111 -0
- data/lib/ver/methods/search.rb +57 -7
- data/lib/ver/methods/select.rb +97 -17
- data/lib/ver/methods/shortcuts.rb +21 -0
- data/lib/ver/methods/views.rb +56 -1
- data/lib/ver/mode.rb +60 -14
- data/lib/ver/status.rb +97 -19
- data/lib/ver/syntax.rb +14 -6
- data/lib/ver/syntax/detector.rb +16 -5
- data/lib/ver/syntax/processor.rb +9 -3
- data/lib/ver/text.rb +258 -199
- data/lib/ver/text/index.rb +103 -0
- data/lib/ver/theme.rb +27 -16
- data/lib/ver/tooltip.rb +59 -0
- data/lib/ver/vendor/binary_search.rb +61 -0
- data/lib/ver/vendor/levenshtein.rb +57 -0
- data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
- data/lib/ver/view.rb +65 -41
- data/lib/ver/view/console.rb +171 -0
- data/lib/ver/view/entry.rb +9 -5
- data/lib/ver/view/list.rb +44 -29
- data/lib/ver/view/list/ex.rb +71 -0
- data/lib/ver/view/list/grep.rb +42 -0
- data/lib/ver/view/list/methods.rb +159 -0
- data/lib/ver/view/term.rb +249 -0
- data/tasks/syntax_list.rake +3 -2
- data/ver.gemspec +4 -4
- metadata +230 -28
- data/config/syntax/Bulletin Board.json +0 -428
- data/config/syntax/HTML (Mason).json +0 -207
- data/config/syntax/HTML (Rails).json +0 -52
- data/config/syntax/Movable Type.json +0 -348
- data/config/syntax/Ruby on Rails.json +0 -170
- data/config/syntax/SQL (Rails).json +0 -31
- data/config/syntax/Smarty.json +0 -110
- data/config/syntax/Standard ML.json +0 -322
@@ -0,0 +1,335 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"moinmoin"
|
4
|
+
],
|
5
|
+
"keyEquivalent": "^~M",
|
6
|
+
"name": "MoinMoin",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"captures": {
|
10
|
+
"1": {
|
11
|
+
"name": "punctuation.definition.heading.moimoin"
|
12
|
+
},
|
13
|
+
"2": {
|
14
|
+
"name": "punctuation.definition.heading.moimoin"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"match": "^\\s*(=)\\s.*\\s(=)$\\n?",
|
18
|
+
"name": "markup.heading.1.moinmoin"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"captures": {
|
22
|
+
"1": {
|
23
|
+
"name": "punctuation.definition.heading.moimoin"
|
24
|
+
},
|
25
|
+
"2": {
|
26
|
+
"name": "punctuation.definition.heading.moimoin"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"match": "^\\s*(==)\\s.*\\s(==)$\\n?",
|
30
|
+
"name": "markup.heading.2.moinmoin"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"captures": {
|
34
|
+
"1": {
|
35
|
+
"name": "punctuation.definition.heading.moimoin"
|
36
|
+
},
|
37
|
+
"2": {
|
38
|
+
"name": "punctuation.definition.heading.moimoin"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"match": "^\\s*(===)\\s.*\\s(===)$\\n?",
|
42
|
+
"name": "markup.heading.3.moinmoin"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"captures": {
|
46
|
+
"1": {
|
47
|
+
"name": "punctuation.definition.heading.moimoin"
|
48
|
+
},
|
49
|
+
"2": {
|
50
|
+
"name": "punctuation.definition.heading.moimoin"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"match": "^\\s*(====)\\s.*\\s(====)$\\n?",
|
54
|
+
"name": "markup.heading.4.moinmoin"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"captures": {
|
58
|
+
"1": {
|
59
|
+
"name": "punctuation.definition.heading.moimoin"
|
60
|
+
},
|
61
|
+
"2": {
|
62
|
+
"name": "punctuation.definition.heading.moimoin"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"match": "^\\s*(=====)\\s.*\\s(=====)$\\n?",
|
66
|
+
"name": "markup.heading.5.moinmoin"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"match": "^\\s*-----\\s*$\\n?",
|
70
|
+
"name": "meta.separator.moinmoin"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"match": "^#pragma.*",
|
74
|
+
"name": "meta.pragma.moimoin"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"captures": {
|
78
|
+
"1": {
|
79
|
+
"name": "punctuation.definition.comment.moimoin"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"match": "^(##).*$\\n?",
|
83
|
+
"name": "comment.line.double-number-sign.moimoin"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"begin": "^\\s+(.*?(::))(?=\\s+\\S)",
|
87
|
+
"captures": {
|
88
|
+
"1": {
|
89
|
+
"name": "markup.list.definition.term.moinmoin"
|
90
|
+
},
|
91
|
+
"2": {
|
92
|
+
"name": "punctuation.separator.definition.moinmoin"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"contentName": "markup.list.definition.moinmoin",
|
96
|
+
"end": "\\n",
|
97
|
+
"patterns": [
|
98
|
+
{
|
99
|
+
"include": "#inline"
|
100
|
+
}
|
101
|
+
]
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"begin": "^\\s+(\\*)(\\s)",
|
105
|
+
"captures": {
|
106
|
+
"1": {
|
107
|
+
"name": "punctuation.definition.list_item.moinmoin"
|
108
|
+
},
|
109
|
+
"2": {
|
110
|
+
"name": "markup.list.unnumbered.moinmoin"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"contentName": "markup.list.unnumbered.moinmoin",
|
114
|
+
"end": "\\n",
|
115
|
+
"patterns": [
|
116
|
+
{
|
117
|
+
"include": "#inline"
|
118
|
+
}
|
119
|
+
]
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"begin": "^\\s+((?:[aAiI]|\\d+)\\.(?:\\#\\d+)?)(\\s)",
|
123
|
+
"captures": {
|
124
|
+
"1": {
|
125
|
+
"name": "punctuation.definition.list_item.moinmoin"
|
126
|
+
},
|
127
|
+
"2": {
|
128
|
+
"name": "markup.list.numbered.moinmoin"
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"contentName": "markup.list.numbered.moinmoin",
|
132
|
+
"end": "\\n",
|
133
|
+
"patterns": [
|
134
|
+
{
|
135
|
+
"include": "#inline"
|
136
|
+
}
|
137
|
+
]
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"begin": "^\\s*(\\|\\|)",
|
141
|
+
"captures": {
|
142
|
+
"1": {
|
143
|
+
"name": "punctuation.definition.table.column.moinmoin"
|
144
|
+
},
|
145
|
+
"2": {
|
146
|
+
"name": "punctuation.definition.table.column.moinmoin"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"contentName": "meta.table.moinmoin",
|
150
|
+
"end": "(\\|\\|$)|\\n",
|
151
|
+
"patterns": [
|
152
|
+
{
|
153
|
+
"include": "#inline"
|
154
|
+
}
|
155
|
+
]
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"begin": "^\\s*(?=\\S)",
|
159
|
+
"end": "\\n",
|
160
|
+
"name": "meta.paragraph.moinmoin",
|
161
|
+
"patterns": [
|
162
|
+
{
|
163
|
+
"include": "#inline"
|
164
|
+
}
|
165
|
+
]
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"repository": {
|
169
|
+
"inline": {
|
170
|
+
"patterns": [
|
171
|
+
{
|
172
|
+
"begin": "\\{{3}(?!.*\\}{3})",
|
173
|
+
"captures": {
|
174
|
+
"0": {
|
175
|
+
"name": "punctuation.definition.raw.moinmoin"
|
176
|
+
}
|
177
|
+
},
|
178
|
+
"end": "\\}{3}",
|
179
|
+
"name": "markup.raw.block.moinmoin"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"captures": {
|
183
|
+
"1": {
|
184
|
+
"name": "punctuation.definition.raw.moinmoin"
|
185
|
+
},
|
186
|
+
"2": {
|
187
|
+
"name": "punctuation.definition.raw.moinmoin"
|
188
|
+
},
|
189
|
+
"3": {
|
190
|
+
"name": "punctuation.definition.raw.moinmoin"
|
191
|
+
},
|
192
|
+
"4": {
|
193
|
+
"name": "punctuation.definition.raw.moinmoin"
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"match": "(`)[^`]*(`)|({{{).*?(}}})",
|
197
|
+
"name": "markup.raw.inline.moinmoin"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"begin": "'{2}(?='{3}[^']*'{3})",
|
201
|
+
"captures": {
|
202
|
+
"0": {
|
203
|
+
"name": "punctuation.definition.italic.moinmoin"
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"contentName": "markup.italic.moinmoin",
|
207
|
+
"end": "'{2}(?!')|'{2}(?='{3})",
|
208
|
+
"patterns": [
|
209
|
+
{
|
210
|
+
"include": "#inline"
|
211
|
+
}
|
212
|
+
]
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"begin": "'{3}",
|
216
|
+
"captures": {
|
217
|
+
"0": {
|
218
|
+
"name": "punctuation.definition.bold.moinmoin"
|
219
|
+
}
|
220
|
+
},
|
221
|
+
"contentName": "markup.bold.moinmoin",
|
222
|
+
"end": "'{3}",
|
223
|
+
"patterns": [
|
224
|
+
{
|
225
|
+
"include": "#inline"
|
226
|
+
}
|
227
|
+
]
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"begin": "'{2}",
|
231
|
+
"captures": {
|
232
|
+
"0": {
|
233
|
+
"name": "punctuation.definition.italic.moinmoin"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"contentName": "markup.italic.moinmoin",
|
237
|
+
"end": "'{2}(?!')|'{2}(?='{3})",
|
238
|
+
"patterns": [
|
239
|
+
{
|
240
|
+
"include": "#inline"
|
241
|
+
}
|
242
|
+
]
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"begin": "__",
|
246
|
+
"captures": {
|
247
|
+
"0": {
|
248
|
+
"name": "punctuation.definition.underline.moinmoin"
|
249
|
+
}
|
250
|
+
},
|
251
|
+
"contentName": "markup.underline.moinmoin",
|
252
|
+
"end": "__",
|
253
|
+
"patterns": [
|
254
|
+
{
|
255
|
+
"include": "#inline"
|
256
|
+
}
|
257
|
+
]
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"match": "(?<!\\!)/?(?:[A-Z][a-z0-9]+[A-Z][a-z0-9]+[A-Za-z0-9]*)",
|
261
|
+
"name": "markup.underline.link.moinmoin"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"captures": {
|
265
|
+
"1": {
|
266
|
+
"name": "punctuation.definition.link.moinmoin"
|
267
|
+
},
|
268
|
+
"2": {
|
269
|
+
"name": "punctuation.definition.link.moinmoin"
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"match": "(\\[\").*?(\"\\])",
|
273
|
+
"name": "markup.underline.link.moinmoin"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"captures": {
|
277
|
+
"1": {
|
278
|
+
"name": "punctuation.definition.link.moinmoin"
|
279
|
+
},
|
280
|
+
"2": {
|
281
|
+
"name": "punctuation.definition.link.moinmoin"
|
282
|
+
}
|
283
|
+
},
|
284
|
+
"match": "(\\[):.*?:.*?(\\])",
|
285
|
+
"name": "markup.underline.link.moinmoin"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"match": "https?://\\S+",
|
289
|
+
"name": "markup.underline.link.moinmoin"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"captures": {
|
293
|
+
"1": {
|
294
|
+
"name": "punctuation.definition.link.moinmoin"
|
295
|
+
},
|
296
|
+
"2": {
|
297
|
+
"name": "punctuation.definition.link.moinmoin"
|
298
|
+
}
|
299
|
+
},
|
300
|
+
"match": "(\\[)https?://.*?(\\])",
|
301
|
+
"name": "markup.underline.link.moinmoin"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"captures": {
|
305
|
+
"1": {
|
306
|
+
"name": "punctuation.separator.key-value.moinmoin"
|
307
|
+
}
|
308
|
+
},
|
309
|
+
"match": "attachment(:)\\S+",
|
310
|
+
"name": "markup.underline.link.moinmoin"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"captures": {
|
314
|
+
"0": {
|
315
|
+
"name": "punctuation.definition.table.column.moinmoin"
|
316
|
+
}
|
317
|
+
},
|
318
|
+
"match": "\\|\\|",
|
319
|
+
"name": "meta.table.column.moinmoin"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"captures": {
|
323
|
+
"0": {
|
324
|
+
"name": "punctuation.definition.macro.moinmoin"
|
325
|
+
}
|
326
|
+
},
|
327
|
+
"match": "(\\[\\[).*?(\\]\\])",
|
328
|
+
"name": "meta.macro.moinmoin"
|
329
|
+
}
|
330
|
+
]
|
331
|
+
}
|
332
|
+
},
|
333
|
+
"scopeName": "text.moinmoin",
|
334
|
+
"uuid": "DB315CBC-23FD-4952-9D64-F2AC0618A840"
|
335
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{
|
2
|
+
"firstLineMatch": "^Format:\\s*(?i:complete)\\s*$",
|
3
|
+
"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)",
|
4
|
+
"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)",
|
5
|
+
"keyEquivalent": "^~M",
|
6
|
+
"name": "MultiMarkdown",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"begin": "^([A-Za-z0-9]+)(:)\\s*",
|
10
|
+
"beginCaptures": {
|
11
|
+
"1": {
|
12
|
+
"name": "keyword.other.multimarkdown"
|
13
|
+
},
|
14
|
+
"2": {
|
15
|
+
"name": "punctuation.separator.key-value.multimarkdown"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"end": "^$|^(?=[A-Za-z0-9]+:)",
|
19
|
+
"name": "meta.header.multimarkdown",
|
20
|
+
"patterns": [
|
21
|
+
{
|
22
|
+
"comment": "The reason for not setting scopeName = \"string.unquoted\" \n\t\t\t\t\t\t(for the parent rule) is that we do not want\n\t\t\t\t\t\tnewlines to be marked as string.unquoted",
|
23
|
+
"match": ".+",
|
24
|
+
"name": "string.unquoted.multimarkdown"
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"begin": "^(?!=[A-Za-z0-9]+:)",
|
30
|
+
"end": "^(?=not)possible$",
|
31
|
+
"name": "meta.content.multimarkdown",
|
32
|
+
"patterns": [
|
33
|
+
{
|
34
|
+
"include": "text.html.markdown"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"scopeName": "text.html.markdown.multimarkdown",
|
40
|
+
"uuid": "F5E04BF4-69A9-45AE-9205-B3F3C2B00130"
|
41
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"n"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "(\\{|(|<\\[)",
|
6
|
+
"foldingStopMarker": "(\\}|)|]>)",
|
7
|
+
"keyEquivalent": "^~N",
|
8
|
+
"name": "Nemerle",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"begin": "//",
|
12
|
+
"beginCaptures": {
|
13
|
+
"0": {
|
14
|
+
"name": "punctuation.definition.comment.nemerle"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"end": "$\\n?",
|
18
|
+
"name": "comment.line.double-slash.nemerle"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"begin": "/\\*",
|
22
|
+
"captures": {
|
23
|
+
"0": {
|
24
|
+
"name": "punctuation.definition.comment.nemerle"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"end": "\\*/",
|
28
|
+
"name": "comment.block.nemerle"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"match": "\\b(|false|null|true)\\b",
|
32
|
+
"name": "constant.language.nemerle"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"match": "\\b(([0-9]+(\\.|\\_)?[0-9]*(b|bu|d|f|L|LU|m|u|ub|UL)?)|(0(b|o|x)[0-9]+))\\b",
|
36
|
+
"name": "constant.numeric.nemerle"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"match": "\\b(catch|else|finally|for|foreach|if|match|repeat|try|unless|when|while)\\b",
|
40
|
+
"name": "keyword.control.nemerle"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"match": "(\\+|\\-|\\*|\\/|\\%)\\=?",
|
44
|
+
"name": "keyword.operator.nemerle"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"match": "\\b(\\_|as|assert|base|checked|do|fun|get|ignore|implements|in|is|lock|namespace|out|params|ref|set|syntax|throw|typeof|unchecked|using|with)\\b",
|
48
|
+
"name": "keyword.other.nemerle"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"match": "\\b(array|bool|byte|char|class|decimal|double|enum|float|int|interface|list|long|macro|module|object|sbyte|short|string|struct|type|uint|ulong|ushort|variant|void)\\b",
|
52
|
+
"name": "storage.type.nemerle"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"match": "\\b(abstract|def|delegate|event|extern|internal|mutable|override|public|private|protected|sealed|static|volatile|virtual|new)\\b",
|
56
|
+
"name": "storage.modifier.nemerle"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"match": "this",
|
60
|
+
"name": "variable.language.nemerle"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"begin": "\"",
|
64
|
+
"beginCaptures": {
|
65
|
+
"0": {
|
66
|
+
"name": "punctuation.definition.string.begin.nemerle"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"end": "\"",
|
70
|
+
"endCaptures": {
|
71
|
+
"0": {
|
72
|
+
"name": "punctuation.definition.string.end.nemerle"
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"name": "string.quoted.double.nemerle",
|
76
|
+
"patterns": [
|
77
|
+
{
|
78
|
+
"match": "\\\\(\\\\|'|\\\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)",
|
79
|
+
"name": "constant.character.escape.nemerle"
|
80
|
+
}
|
81
|
+
]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"begin": "\\$\"",
|
85
|
+
"beginCaptures": {
|
86
|
+
"0": {
|
87
|
+
"name": "punctuation.definition.string.begin.nemerle"
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"end": "\"",
|
91
|
+
"endCaptures": {
|
92
|
+
"0": {
|
93
|
+
"name": "punctuation.definition.string.end.nemerle"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"name": "string.interpolated.nemerle",
|
97
|
+
"patterns": [
|
98
|
+
{
|
99
|
+
"match": "\\$[a-z,A-Z]+[a-z,A-Z,0-9]*( |\\+|\\-|\\*|\\/|\\%)",
|
100
|
+
"name": "constant.character.escape"
|
101
|
+
}
|
102
|
+
]
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"begin": "'",
|
106
|
+
"beginCaptures": {
|
107
|
+
"0": {
|
108
|
+
"name": "punctuation.definition.string.begin.nemerle"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"end": "'",
|
112
|
+
"endCaptures": {
|
113
|
+
"0": {
|
114
|
+
"name": "punctuation.definition.string.end.nemerle"
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"name": "string.quoted.single.nemerle",
|
118
|
+
"patterns": [
|
119
|
+
{
|
120
|
+
"match": "\\\\(\\\\|'|\\\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)",
|
121
|
+
"name": "constant.character.escape"
|
122
|
+
}
|
123
|
+
]
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"scopeName": "source.nemerle",
|
127
|
+
"uuid": "F563968D-4CB3-11DB-9F95-00112474B8F0"
|
128
|
+
}
|