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
data/config/syntax/Diff.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"diff",
|
4
4
|
"patch"
|
5
5
|
],
|
6
|
-
"firstLineMatch": "(?x)^\n\t\t(===\\ modified\\ file\n\t\t|==== \\s*
|
6
|
+
"firstLineMatch": "(?x)^\n\t\t(===\\ modified\\ file\n\t\t|==== \\s* // .+ \\s - \\s .+ \\s+ ====\n\t\t|Index:\\ \n\t\t|---\\ [^%]\n\t\t|\\*\\*\\*.*\\d{4}\\s*$\n\t\t|\\d+(,\\d+)* (a|d|c) \\d+(,\\d+)* $\n\t\t|diff\\ --git\\ \n\t\t)\n\t",
|
7
7
|
"foldingStartMarker": "^\\+\\+\\+",
|
8
8
|
"foldingStopMarker": "^---|^$",
|
9
9
|
"keyEquivalent": "^~D",
|
@@ -0,0 +1,412 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
|
4
|
+
],
|
5
|
+
"firstLineMatch": "^\\s*={2,}(.*)={2,}\\s*$",
|
6
|
+
"foldingStartMarker": "(<(php|html|file|nowiki)>|<code(\\s*.*)?>)|/\\*\\*|\\{\\s*$",
|
7
|
+
"foldingStopMarker": "(</(code|php|html|file|nowiki)>)|\\*\\*/|^\\s*\\}",
|
8
|
+
"keyEquivalent": "^~D",
|
9
|
+
"name": "DokuWiki",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"include": "#php"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"include": "#inline"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"begin": "\"",
|
19
|
+
"beginCaptures": {
|
20
|
+
"0": {
|
21
|
+
"name": "punctuation.definition.string.begin.dokuwiki"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"end": "\"",
|
25
|
+
"endCaptures": {
|
26
|
+
"0": {
|
27
|
+
"name": "punctuation.definition.string.end.dokuwiki"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"name": "string.quoted.double.dokuwiki",
|
31
|
+
"patterns": [
|
32
|
+
{
|
33
|
+
"match": "\\\\.",
|
34
|
+
"name": "constant.character.escape.dokuwiki"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"begin": "\\(\\(",
|
40
|
+
"captures": {
|
41
|
+
"0": {
|
42
|
+
"name": "punctuation.definition.comment.dokuwiki"
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"end": "\\)\\)",
|
46
|
+
"name": "comment.block.documentation.dokuwiki"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"captures": {
|
50
|
+
"1": {
|
51
|
+
"name": "punctuation.definition.heading.dokuwiki"
|
52
|
+
},
|
53
|
+
"3": {
|
54
|
+
"name": "punctuation.definition.heading.dokuwiki"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"match": "^\\s*(={2,})(.*)(={2,})\\s*$\\n?",
|
58
|
+
"name": "markup.heading.dokuwiki"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"match": "~~NOTOC~~",
|
62
|
+
"name": "keyword.other.notoc.dokuwiki"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"match": "~~NOCACHE~~",
|
66
|
+
"name": "keyword.other.nocache.dokuwiki"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"match": "^\\s*-{4,}\\s*$",
|
70
|
+
"name": "meta.separator.dokuwiki"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"match": "\\\\\\\\\\s",
|
74
|
+
"name": "markup.other.paragraph.dokuwiki"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"begin": "^((\\t+)|( {2,}))(\\*)",
|
78
|
+
"captures": {
|
79
|
+
"4": {
|
80
|
+
"name": "punctuation.definition.list_item.dokuwiki"
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"end": "$\\n?",
|
84
|
+
"name": "markup.list.unnumbered.dokuwiki",
|
85
|
+
"patterns": [
|
86
|
+
{
|
87
|
+
"include": "#inline"
|
88
|
+
}
|
89
|
+
]
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"begin": "^((\\t+)|( {2,}))(-)",
|
93
|
+
"captures": {
|
94
|
+
"4": {
|
95
|
+
"name": "punctuation.definition.list_item.dokuwiki"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"end": "$\\n?",
|
99
|
+
"name": "markup.list.numbered.dokuwiki",
|
100
|
+
"patterns": [
|
101
|
+
{
|
102
|
+
"include": "#inline"
|
103
|
+
}
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"begin": "^[|^]",
|
108
|
+
"beginCaptures": {
|
109
|
+
"0": {
|
110
|
+
"name": "punctuation.definition.table.dokuwiki"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"end": "$",
|
114
|
+
"name": "markup.other.table.dokuwiki",
|
115
|
+
"patterns": [
|
116
|
+
{
|
117
|
+
"include": "#inline"
|
118
|
+
}
|
119
|
+
]
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"begin": "(\\<)(file|nowiki)(\\>)",
|
123
|
+
"captures": {
|
124
|
+
"0": {
|
125
|
+
"name": "meta.tag.template.dokuwiki"
|
126
|
+
},
|
127
|
+
"1": {
|
128
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
129
|
+
},
|
130
|
+
"2": {
|
131
|
+
"name": "entity.name.tag.dokuwiki"
|
132
|
+
},
|
133
|
+
"3": {
|
134
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"end": "(<\\/)(\\2)(\\>)",
|
138
|
+
"name": "markup.raw.dokuwiki"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"begin": "(%%|\\'\\')",
|
142
|
+
"captures": {
|
143
|
+
"0": {
|
144
|
+
"name": "punctuation.definition.raw.dokuwiki"
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"end": "\\1",
|
148
|
+
"name": "markup.raw.dokuwiki"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"begin": "(<)(html)(>)",
|
152
|
+
"captures": {
|
153
|
+
"0": {
|
154
|
+
"name": "meta.tag.template.block.dokuwiki"
|
155
|
+
},
|
156
|
+
"1": {
|
157
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
158
|
+
},
|
159
|
+
"2": {
|
160
|
+
"name": "entity.name.tag.dokuwiki"
|
161
|
+
},
|
162
|
+
"3": {
|
163
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
164
|
+
}
|
165
|
+
},
|
166
|
+
"end": "(</)(html)(>)",
|
167
|
+
"patterns": [
|
168
|
+
{
|
169
|
+
"include": "text.html.basic"
|
170
|
+
}
|
171
|
+
]
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"match": "^((\\s\\s)|(\\t))[^\\*\\-].*$",
|
175
|
+
"name": "markup.raw.dokuwiki"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"begin": "(\\<)(sub|sup|del)(\\>)",
|
179
|
+
"captures": {
|
180
|
+
"0": {
|
181
|
+
"name": "meta.tag.template.dokuwiki"
|
182
|
+
},
|
183
|
+
"1": {
|
184
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
185
|
+
},
|
186
|
+
"2": {
|
187
|
+
"name": "entity.name.tag.dokuwiki"
|
188
|
+
},
|
189
|
+
"3": {
|
190
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"end": "(\\</)(\\2)(\\>)",
|
194
|
+
"name": "markup.other.dokuwiki",
|
195
|
+
"patterns": [
|
196
|
+
{
|
197
|
+
"include": "#inline"
|
198
|
+
}
|
199
|
+
]
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"begin": "(<)(code)(?:\\s+[^>]*)?(>)",
|
203
|
+
"captures": {
|
204
|
+
"0": {
|
205
|
+
"name": "meta.tag.template.code.dokuwiki"
|
206
|
+
},
|
207
|
+
"1": {
|
208
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
209
|
+
},
|
210
|
+
"2": {
|
211
|
+
"name": "entity.name.tag.dokuwiki"
|
212
|
+
},
|
213
|
+
"3": {
|
214
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"end": "(</)(code)(>)",
|
218
|
+
"name": "markup.raw.dokuwiki"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"repository": {
|
222
|
+
"inline": {
|
223
|
+
"patterns": [
|
224
|
+
{
|
225
|
+
"begin": "\\*\\*",
|
226
|
+
"captures": {
|
227
|
+
"0": {
|
228
|
+
"name": "punctuation.definition.bold.dokuwiki"
|
229
|
+
}
|
230
|
+
},
|
231
|
+
"end": "\\*\\*",
|
232
|
+
"name": "markup.bold.dokuwiki",
|
233
|
+
"patterns": [
|
234
|
+
{
|
235
|
+
"include": "#inline"
|
236
|
+
}
|
237
|
+
]
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"begin": "//",
|
241
|
+
"captures": {
|
242
|
+
"0": {
|
243
|
+
"name": "punctuation.definition.italic.dokuwiki"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
"end": "//",
|
247
|
+
"name": "markup.italic.dokuwiki",
|
248
|
+
"patterns": [
|
249
|
+
{
|
250
|
+
"include": "#inline"
|
251
|
+
}
|
252
|
+
]
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"begin": "__",
|
256
|
+
"captures": {
|
257
|
+
"0": {
|
258
|
+
"name": "punctuation.definition.underline.dokuwiki"
|
259
|
+
}
|
260
|
+
},
|
261
|
+
"end": "__",
|
262
|
+
"name": "markup.underline.dokuwiki",
|
263
|
+
"patterns": [
|
264
|
+
{
|
265
|
+
"include": "#inline"
|
266
|
+
}
|
267
|
+
]
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"captures": {
|
271
|
+
"1": {
|
272
|
+
"name": "punctuation.definition.image.dokuwiki"
|
273
|
+
},
|
274
|
+
"2": {
|
275
|
+
"name": "markup.underline.link.dokuwiki"
|
276
|
+
},
|
277
|
+
"3": {
|
278
|
+
"name": "punctuation.definition.image.dokuwiki"
|
279
|
+
}
|
280
|
+
},
|
281
|
+
"match": "(\\{\\{)(.+?)(\\}\\})",
|
282
|
+
"name": "meta.image.inline.dokuwiki"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"captures": {
|
286
|
+
"1": {
|
287
|
+
"name": "punctuation.definition.link.dokuwiki"
|
288
|
+
},
|
289
|
+
"2": {
|
290
|
+
"name": "markup.underline.link.dokuwiki"
|
291
|
+
},
|
292
|
+
"3": {
|
293
|
+
"name": "punctuation.definition.link.dokuwiki"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"match": "(\\[\\[)(.*?)(\\]\\])",
|
297
|
+
"name": "meta.link.dokuwiki"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"captures": {
|
301
|
+
"1": {
|
302
|
+
"name": "punctuation.definition.link.dokuwiki"
|
303
|
+
},
|
304
|
+
"2": {
|
305
|
+
"name": "markup.underline.link.interwiki.dokuwiki"
|
306
|
+
},
|
307
|
+
"3": {
|
308
|
+
"name": "punctuation.definition.link.dokuwiki"
|
309
|
+
}
|
310
|
+
},
|
311
|
+
"match": "(\\[\\[)([^\\[\\]]+\\>[^|\\]]+)(\\]\\])"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"captures": {
|
315
|
+
"1": {
|
316
|
+
"name": "markup.underline.link.dokuwiki"
|
317
|
+
}
|
318
|
+
},
|
319
|
+
"match": "((https?|telnet|gopher|wais|ftp|ed2k|irc)://[\\w/\\#~:.?+=&%@!\\-;,]+?(?=[.:?\\-;,]*[^\\w/\\#~:.?+=&%@!\\-;,]))"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"captures": {
|
323
|
+
"1": {
|
324
|
+
"name": "punctuation.definition.link.dokuwiki"
|
325
|
+
},
|
326
|
+
"2": {
|
327
|
+
"name": "markup.underline.link.dokuwiki"
|
328
|
+
},
|
329
|
+
"3": {
|
330
|
+
"name": "punctuation.definition.link.dokuwiki"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
"match": "(<)([\\w0-9\\-_.]+?@[\\w\\-]+\\.[\\w\\-\\.]+\\.*[\\w]+)(\\>)",
|
334
|
+
"name": "meta.link.email.dokuwiki"
|
335
|
+
}
|
336
|
+
]
|
337
|
+
},
|
338
|
+
"php": {
|
339
|
+
"patterns": [
|
340
|
+
{
|
341
|
+
"include": "source.php"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"begin": "(^\\s*)?(?=<php>)",
|
345
|
+
"beginCaptures": {
|
346
|
+
"1": {
|
347
|
+
"name": "punctuation.whitespace.embedded.leading.dokuwiki"
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"contentName": "meta.embedded.php",
|
351
|
+
"end": "(?<=</php>)(?!<php>)(\\s*$\\n?)",
|
352
|
+
"endCaptures": {
|
353
|
+
"1": {
|
354
|
+
"name": "punctuation.whitespace.embedded.trailing.dokuwiki"
|
355
|
+
}
|
356
|
+
},
|
357
|
+
"patterns": [
|
358
|
+
{
|
359
|
+
"begin": "((<)(php)(>))",
|
360
|
+
"beginCaptures": {
|
361
|
+
"0": {
|
362
|
+
"name": "punctuation.definition.embedded.begin.dokuwiki"
|
363
|
+
},
|
364
|
+
"1": {
|
365
|
+
"name": "meta.tag.template.dokuwiki"
|
366
|
+
},
|
367
|
+
"2": {
|
368
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
369
|
+
},
|
370
|
+
"3": {
|
371
|
+
"name": "entity.name.tag.dokuwiki"
|
372
|
+
},
|
373
|
+
"4": {
|
374
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
375
|
+
}
|
376
|
+
},
|
377
|
+
"contentName": "source.php",
|
378
|
+
"end": "(((</))(php)(>))",
|
379
|
+
"endCaptures": {
|
380
|
+
"0": {
|
381
|
+
"name": "punctuation.definition.embedded.end.dokuwiki"
|
382
|
+
},
|
383
|
+
"1": {
|
384
|
+
"name": "meta.tag.template.dokuwiki"
|
385
|
+
},
|
386
|
+
"2": {
|
387
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
388
|
+
},
|
389
|
+
"3": {
|
390
|
+
"name": "source.php"
|
391
|
+
},
|
392
|
+
"4": {
|
393
|
+
"name": "entity.name.tag.dokuwiki"
|
394
|
+
},
|
395
|
+
"5": {
|
396
|
+
"name": "punctuation.definition.tag.dokuwiki"
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"patterns": [
|
400
|
+
{
|
401
|
+
"include": "source.php"
|
402
|
+
}
|
403
|
+
]
|
404
|
+
}
|
405
|
+
]
|
406
|
+
}
|
407
|
+
]
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"scopeName": "text.html.dokuwiki",
|
411
|
+
"uuid": "862D8B02-501E-4205-9DA4-FB7CDA7AE3DA"
|
412
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"doxygen"
|
4
|
+
],
|
5
|
+
"name": "Doxygen",
|
6
|
+
"patterns": [
|
7
|
+
{
|
8
|
+
"begin": "\\/\\*\\*\\<?",
|
9
|
+
"captures": {
|
10
|
+
"0": {
|
11
|
+
"name": "punctuation.definition.comment.doxygen"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"end": "\\*\\/",
|
15
|
+
"name": "comment.block.doxygen",
|
16
|
+
"patterns": [
|
17
|
+
{
|
18
|
+
"include": "#source_doxygen"
|
19
|
+
}
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"begin": "\\/\\*!\\<?",
|
24
|
+
"captures": {
|
25
|
+
"0": {
|
26
|
+
"name": "punctuation.definition.comment.doxygen"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"end": "\\*\\/",
|
30
|
+
"name": "comment.block.doxygen",
|
31
|
+
"patterns": [
|
32
|
+
{
|
33
|
+
"include": "#source_doxygen"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"begin": "\\/\\/[\\/!]\\<?",
|
39
|
+
"beginCaptures": {
|
40
|
+
"0": {
|
41
|
+
"name": "punctuation.definition.comment.doxygen"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"end": "$\\n?",
|
45
|
+
"name": "comment.line.doxygen",
|
46
|
+
"patterns": [
|
47
|
+
{
|
48
|
+
"include": "#source_doxygen"
|
49
|
+
}
|
50
|
+
]
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"repository": {
|
54
|
+
"keywords": {
|
55
|
+
"patterns": [
|
56
|
+
{
|
57
|
+
"captures": {
|
58
|
+
"1": {
|
59
|
+
"name": "punctuation.definition.keyword.doxygen"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"match": "([\\\\@])((a|addindex|addtogroup|anchor|arg|attention|author|b|brief|bug|c|callgraph|callergraph|category|class|code|cond|copydoc|date|def|defgroup|deprecated|dir|dontinclude|dot|dotfile|e|else|elseif|em|endcode|endcond|enddot|endhtmlonly|endif|endlatexonly|endlink|endmanonly|endverbatim|endxmlonly|enum|example|exception|file|fn|hideinitializer|htmlinclude|htmlonly|if|ifnot|image|include|includelineno|ingroup|internal|invariant|interface|latexonly|li|line|link|mainpage|manonly|n|name|namespace|nosubgrouping|note|overload|p|package|page|par|paragraph|param|post|pre|private|privatesection|property|protected|protectedsection|protocol|public|publicsection|ref|relates|relatesalso|remarks|return|retval|sa|section|see|showinitializer|since|skip|skipline|struct|subpage|subsection|subsubsection|test|throw|todo|typedef|union|until|var|verbatim|verbinclude|version|warning|weakgroup|xmlonly|xrefitem)\\b|(\\$|\\@|\\\\|\\&|\\~|\\<|\\>|\\#|\\%|f\\$|f\\[|f\\]))",
|
63
|
+
"name": "keyword.control.doxygen"
|
64
|
+
}
|
65
|
+
]
|
66
|
+
},
|
67
|
+
"source_doxygen": {
|
68
|
+
"patterns": [
|
69
|
+
{
|
70
|
+
"include": "#keywords"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"include": "text.html.basic"
|
74
|
+
}
|
75
|
+
]
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"scopeName": "text.html.doxygen",
|
79
|
+
"uuid": "9725E602-6D7C-4E98-911A-C66802142451"
|
80
|
+
}
|