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
@@ -1,207 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"mhtml",
|
4
|
-
"autohandler",
|
5
|
-
"dhandler",
|
6
|
-
"md",
|
7
|
-
"mc"
|
8
|
-
],
|
9
|
-
"foldingStartMarker": "(<(?i:(head|table|div|style|script|ul|ol|form|dl))\\b.*?>|\\{)",
|
10
|
-
"foldingStopMarker": "(<\/(?i:(head|table|div|style|script|ul|ol|form|dl))>|\\})",
|
11
|
-
"name": "HTML (Mason)",
|
12
|
-
"patterns": [
|
13
|
-
{
|
14
|
-
"begin": "(<%(perl|attr|global|once|init|cleanup|requestlocal|requestonce|shared|threadlocal|threadonce|flags)( scope.*?)?>)",
|
15
|
-
"captures": {
|
16
|
-
"1": {
|
17
|
-
"name": "punctuation.section.embedded.perl.mason"
|
18
|
-
},
|
19
|
-
"2": {
|
20
|
-
"name": "keyword.control"
|
21
|
-
}
|
22
|
-
},
|
23
|
-
"end": "(<\/%(\\2)>)(\\s*$\\n)?",
|
24
|
-
"name": "source.perl.mason.block",
|
25
|
-
"patterns": [
|
26
|
-
{
|
27
|
-
"include": "source.perl"
|
28
|
-
}
|
29
|
-
]
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"begin": "(<(%text)>)",
|
33
|
-
"captures": {
|
34
|
-
"1": {
|
35
|
-
"name": "keyword.control"
|
36
|
-
},
|
37
|
-
"2": {
|
38
|
-
"name": "variable.other"
|
39
|
-
}
|
40
|
-
},
|
41
|
-
"end": "(<\/(%text)>)",
|
42
|
-
"name": "source.perl.mason.doc",
|
43
|
-
"patterns": [
|
44
|
-
{
|
45
|
-
"begin": "(?<=<%text>)",
|
46
|
-
"end": "(?=<\/%text>)",
|
47
|
-
"name": "comment.block"
|
48
|
-
}
|
49
|
-
]
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"begin": "(<(%doc)>)",
|
53
|
-
"captures": {
|
54
|
-
"1": {
|
55
|
-
"name": "keyword.control"
|
56
|
-
},
|
57
|
-
"2": {
|
58
|
-
"name": "variable.other"
|
59
|
-
}
|
60
|
-
},
|
61
|
-
"end": "(<\/(%doc)>)",
|
62
|
-
"name": "source.perl.mason.doc",
|
63
|
-
"patterns": [
|
64
|
-
{
|
65
|
-
"begin": "(?<=<%doc>)",
|
66
|
-
"end": "(?=<\/%doc>)",
|
67
|
-
"name": "comment.block"
|
68
|
-
}
|
69
|
-
]
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"begin": "^(%)",
|
73
|
-
"beginCaptures": {
|
74
|
-
"1": {
|
75
|
-
"name": "punctuation.section.embedded.perl.mason"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"end": "$\\n?",
|
79
|
-
"name": "source.perl.mason.line",
|
80
|
-
"patterns": [
|
81
|
-
{
|
82
|
-
"include": "source.perl"
|
83
|
-
}
|
84
|
-
]
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"begin": "(<&\\|)((\\w|\\.|\\:)*)(?!&>)",
|
88
|
-
"beginCaptures": {
|
89
|
-
"1": {
|
90
|
-
"name": "keyword.control"
|
91
|
-
},
|
92
|
-
"2": {
|
93
|
-
"name": "entity.name.function"
|
94
|
-
}
|
95
|
-
},
|
96
|
-
"end": "(<\/&>)",
|
97
|
-
"endCaptures": {
|
98
|
-
"1": {
|
99
|
-
"name": "keyword.control"
|
100
|
-
}
|
101
|
-
},
|
102
|
-
"name": "source.mason.component.block",
|
103
|
-
"patterns": [
|
104
|
-
{
|
105
|
-
"begin": "(&>)",
|
106
|
-
"beginCaptures": {
|
107
|
-
"1": {
|
108
|
-
"name": "keyword.control"
|
109
|
-
}
|
110
|
-
},
|
111
|
-
"end": "(?=<\/&>)",
|
112
|
-
"name": "source.mason.nesty",
|
113
|
-
"patterns": [
|
114
|
-
{
|
115
|
-
"include": "$self"
|
116
|
-
}
|
117
|
-
]
|
118
|
-
}
|
119
|
-
]
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"begin": "(<&)(.{1,}?)( |,)+",
|
123
|
-
"beginCaptures": {
|
124
|
-
"1": {
|
125
|
-
"name": "keyword.control"
|
126
|
-
},
|
127
|
-
"2": {
|
128
|
-
"name": "entity.name.function"
|
129
|
-
}
|
130
|
-
},
|
131
|
-
"end": "(&>)",
|
132
|
-
"endCaptures": {
|
133
|
-
"1": {
|
134
|
-
"name": "keyword.control"
|
135
|
-
}
|
136
|
-
},
|
137
|
-
"name": "source.mason.component",
|
138
|
-
"patterns": [
|
139
|
-
{
|
140
|
-
"include": "source.perl"
|
141
|
-
}
|
142
|
-
]
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"begin": "(<%(args.*?)>)",
|
146
|
-
"captures": {
|
147
|
-
"1": {
|
148
|
-
"name": "keyword.control"
|
149
|
-
},
|
150
|
-
"2": {
|
151
|
-
"name": "variable.other"
|
152
|
-
}
|
153
|
-
},
|
154
|
-
"end": "(<\/%(\\2)>)",
|
155
|
-
"name": "source.mason.args",
|
156
|
-
"patterns": [
|
157
|
-
{
|
158
|
-
"captures": {
|
159
|
-
"2": {
|
160
|
-
"name": "string.quoted.single"
|
161
|
-
}
|
162
|
-
},
|
163
|
-
"include": "source.perl",
|
164
|
-
"match": "(\\s*)?(\\w*)"
|
165
|
-
}
|
166
|
-
]
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"begin": "(<%(method|def|closure) .*?>)",
|
170
|
-
"captures": {
|
171
|
-
"1": {
|
172
|
-
"name": "keyword.control"
|
173
|
-
},
|
174
|
-
"2": {
|
175
|
-
"name": "variable.other"
|
176
|
-
}
|
177
|
-
},
|
178
|
-
"end": "(<\/%(\\2)>)",
|
179
|
-
"name": "source.mason.methods",
|
180
|
-
"patterns": [
|
181
|
-
{
|
182
|
-
"include": "$self"
|
183
|
-
}
|
184
|
-
]
|
185
|
-
},
|
186
|
-
{
|
187
|
-
"begin": "(<%) ",
|
188
|
-
"captures": {
|
189
|
-
"1": {
|
190
|
-
"name": "keyword.control"
|
191
|
-
}
|
192
|
-
},
|
193
|
-
"end": "(%>)",
|
194
|
-
"name": "source.mason.substitution",
|
195
|
-
"patterns": [
|
196
|
-
{
|
197
|
-
"include": "source.perl"
|
198
|
-
}
|
199
|
-
]
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"include": "text.html.basic"
|
203
|
-
}
|
204
|
-
],
|
205
|
-
"scopeName": "text.html.mason",
|
206
|
-
"uuid": "34979B9C-CDDC-483E-93B5-B65C6B15E6B0"
|
207
|
-
}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"rhtml",
|
4
|
-
"erb",
|
5
|
-
"html.erb"
|
6
|
-
],
|
7
|
-
"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)",
|
8
|
-
"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)",
|
9
|
-
"keyEquivalent": "^~R",
|
10
|
-
"name": "HTML (Rails)",
|
11
|
-
"patterns": [
|
12
|
-
{
|
13
|
-
"begin": "<%+#",
|
14
|
-
"captures": {
|
15
|
-
"0": {
|
16
|
-
"name": "punctuation.definition.comment.erb"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"end": "%>",
|
20
|
-
"name": "comment.block.erb"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"begin": "<%+(?!>)[-=]?",
|
24
|
-
"captures": {
|
25
|
-
"0": {
|
26
|
-
"name": "punctuation.section.embedded.ruby"
|
27
|
-
}
|
28
|
-
},
|
29
|
-
"end": "-?%>",
|
30
|
-
"name": "source.ruby.rails.embedded.html",
|
31
|
-
"patterns": [
|
32
|
-
{
|
33
|
-
"captures": {
|
34
|
-
"1": {
|
35
|
-
"name": "punctuation.definition.comment.ruby"
|
36
|
-
}
|
37
|
-
},
|
38
|
-
"match": "(#).*?(?=-?%>)",
|
39
|
-
"name": "comment.line.number-sign.ruby"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"include": "source.ruby.rails"
|
43
|
-
}
|
44
|
-
]
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"include": "text.html.basic"
|
48
|
-
}
|
49
|
-
],
|
50
|
-
"scopeName": "text.html.ruby",
|
51
|
-
"uuid": "45D7E1FC-7D0B-4105-A1A2-3D10BB555A5C"
|
52
|
-
}
|
@@ -1,348 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"mtml"
|
4
|
-
],
|
5
|
-
"firstLineMatch": "<\\$?[Mm][Tt]",
|
6
|
-
"foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\\b.*?>\n\t\t|<(?i:MT:?(?!Else))(\\w+:)?\\w+\\b.*?>\n\t\t|<!--(?!.*--\\s*>)\n\t\t|^<!--\\ \\#tminclude\\ (?>.*?-->)$\n\t\t|<\\?(?:php)?.*\\b(if|for(each)?|while)\\b.+:\n\t\t|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|\\{\\s*($|\\?>\\s*$|\/\/|\/\\*(.*\\*\/\\s*$|(?!.*?\\*\/)))\n\t\t)",
|
7
|
-
"foldingStopMarker": "(?x)\n\t\t(<\/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>\n\t\t|<\\\/(?i:MT:?(?!Else))(\\w+:)?\\w+\\b.*?>\n\t\t|^(?!.*?<!--).*?--\\s*>\n\t\t|^<!--\\ end\\ tminclude\\ -->$\n\t\t|<\\?(?:php)?.*\\bend(if|for(each)?|while)\\b\n\t\t|\\{\\{?\/(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|^[^{]*\\}\n\t\t)",
|
8
|
-
"keyEquivalent": "^~M",
|
9
|
-
"name": "Movable Type",
|
10
|
-
"patterns": [
|
11
|
-
{
|
12
|
-
"include": "#trans-tag"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"include": "#mt-container-tag"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"include": "#mt-variable-tag"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"comment": "This is set to use XHTML standards, but you can change that by changing .strict to .basic for HTML standards",
|
22
|
-
"include": "text.html.basic"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"begin": "{{",
|
26
|
-
"captures": {
|
27
|
-
"0": {
|
28
|
-
"name": "punctuation.section.embedded.smarty"
|
29
|
-
}
|
30
|
-
},
|
31
|
-
"end": "}}",
|
32
|
-
"name": "source.smarty.embedded.html",
|
33
|
-
"patterns": [
|
34
|
-
{
|
35
|
-
"include": "source.smarty"
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
39
|
-
],
|
40
|
-
"repository": {
|
41
|
-
"embedded-code": {
|
42
|
-
"patterns": [
|
43
|
-
{
|
44
|
-
"include": "#php"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"include": "#ruby"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"include": "#smarty"
|
51
|
-
}
|
52
|
-
]
|
53
|
-
},
|
54
|
-
"entities": {
|
55
|
-
"patterns": [
|
56
|
-
{
|
57
|
-
"captures": {
|
58
|
-
"1": {
|
59
|
-
"name": "punctuation.definition.constant.html"
|
60
|
-
},
|
61
|
-
"3": {
|
62
|
-
"name": "punctuation.definition.constant.html"
|
63
|
-
}
|
64
|
-
},
|
65
|
-
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
66
|
-
"name": "constant.character.entity.html"
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"match": "&",
|
70
|
-
"name": "invalid.illegal.bad-ampersand.html"
|
71
|
-
}
|
72
|
-
]
|
73
|
-
},
|
74
|
-
"mt-container-tag": {
|
75
|
-
"patterns": [
|
76
|
-
{
|
77
|
-
"begin": "(<\/?)([Mm][Tt]:?(\\w+:)?\\w+)",
|
78
|
-
"beginCaptures": {
|
79
|
-
"1": {
|
80
|
-
"name": "punctuation.definition.tag.mt"
|
81
|
-
},
|
82
|
-
"2": {
|
83
|
-
"name": "entity.name.tag.mt"
|
84
|
-
}
|
85
|
-
},
|
86
|
-
"end": ">",
|
87
|
-
"endCaptures": {
|
88
|
-
"0": {
|
89
|
-
"name": "punctuation.definition.tag.mt"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
"name": "meta.tag.mt.container.html",
|
93
|
-
"patterns": [
|
94
|
-
{
|
95
|
-
"include": "#tag-stuff"
|
96
|
-
}
|
97
|
-
]
|
98
|
-
}
|
99
|
-
]
|
100
|
-
},
|
101
|
-
"mt-variable-tag": {
|
102
|
-
"patterns": [
|
103
|
-
{
|
104
|
-
"begin": "(<)(\\$[Mm][Tt]:?(\\w+:)?\\w+)",
|
105
|
-
"beginCaptures": {
|
106
|
-
"1": {
|
107
|
-
"name": "punctuation.definition.tag.mt"
|
108
|
-
},
|
109
|
-
"2": {
|
110
|
-
"name": "variable.other.mt"
|
111
|
-
}
|
112
|
-
},
|
113
|
-
"end": "(\\$)?(>)",
|
114
|
-
"endCaptures": {
|
115
|
-
"1": {
|
116
|
-
"name": "variable.other.mt"
|
117
|
-
},
|
118
|
-
"2": {
|
119
|
-
"name": "punctuation.definition.tag.mt"
|
120
|
-
}
|
121
|
-
},
|
122
|
-
"name": "meta.tag.mt.variable.html",
|
123
|
-
"patterns": [
|
124
|
-
{
|
125
|
-
"include": "#tag-stuff"
|
126
|
-
}
|
127
|
-
]
|
128
|
-
}
|
129
|
-
]
|
130
|
-
},
|
131
|
-
"php": {
|
132
|
-
"patterns": [
|
133
|
-
{
|
134
|
-
"begin": "(?:^\\s*)(<\\?(php|=)?)(?!.*\\?>)",
|
135
|
-
"captures": {
|
136
|
-
"1": {
|
137
|
-
"name": "punctuation.section.embedded.php"
|
138
|
-
}
|
139
|
-
},
|
140
|
-
"comment": "match only multi-line PHP with leading whitespace",
|
141
|
-
"end": "(\\?>)(?:\\s*$\\n)?",
|
142
|
-
"name": "source.php.embedded.html",
|
143
|
-
"patterns": [
|
144
|
-
{
|
145
|
-
"include": "#php-source"
|
146
|
-
}
|
147
|
-
]
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"begin": "<\\?(php|=)?",
|
151
|
-
"captures": {
|
152
|
-
"0": {
|
153
|
-
"name": "punctuation.section.embedded.php"
|
154
|
-
}
|
155
|
-
},
|
156
|
-
"end": "\\?>",
|
157
|
-
"name": "source.php.embedded.html",
|
158
|
-
"patterns": [
|
159
|
-
{
|
160
|
-
"include": "#php-source"
|
161
|
-
}
|
162
|
-
]
|
163
|
-
}
|
164
|
-
]
|
165
|
-
},
|
166
|
-
"php-source": {
|
167
|
-
"patterns": [
|
168
|
-
{
|
169
|
-
"captures": {
|
170
|
-
"1": {
|
171
|
-
"name": "punctuation.definition.comment.php"
|
172
|
-
}
|
173
|
-
},
|
174
|
-
"match": "(#).*?(?=\\?>)",
|
175
|
-
"name": "comment.line.number-sign.ruby"
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"captures": {
|
179
|
-
"1": {
|
180
|
-
"name": "punctuation.definition.comment.php"
|
181
|
-
}
|
182
|
-
},
|
183
|
-
"match": "(\/\/).*?(?=\\?>)",
|
184
|
-
"name": "comment.line.double-slash.ruby"
|
185
|
-
},
|
186
|
-
{
|
187
|
-
"include": "source.php"
|
188
|
-
}
|
189
|
-
]
|
190
|
-
},
|
191
|
-
"ruby": {
|
192
|
-
"begin": "<%+(?!>)=?",
|
193
|
-
"captures": {
|
194
|
-
"0": {
|
195
|
-
"name": "punctuation.section.embedded.ruby"
|
196
|
-
}
|
197
|
-
},
|
198
|
-
"end": "-?%>",
|
199
|
-
"name": "source.ruby.embedded.html",
|
200
|
-
"patterns": [
|
201
|
-
{
|
202
|
-
"captures": {
|
203
|
-
"1": {
|
204
|
-
"name": "punctuation.definition.comment.ruby"
|
205
|
-
}
|
206
|
-
},
|
207
|
-
"match": "(#).*?(?=-?%>)",
|
208
|
-
"name": "comment.line.number-sign.ruby"
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"include": "source.ruby"
|
212
|
-
}
|
213
|
-
]
|
214
|
-
},
|
215
|
-
"smarty": {
|
216
|
-
"begin": "{{|{",
|
217
|
-
"captures": {
|
218
|
-
"0": {
|
219
|
-
"name": "punctuation.section.embedded.smarty"
|
220
|
-
}
|
221
|
-
},
|
222
|
-
"disabled": "1",
|
223
|
-
"end": "}}|}",
|
224
|
-
"name": "source.smarty.embedded.xhtml",
|
225
|
-
"patterns": [
|
226
|
-
{
|
227
|
-
"include": "source.smarty"
|
228
|
-
}
|
229
|
-
]
|
230
|
-
},
|
231
|
-
"string-double-quoted": {
|
232
|
-
"begin": "\"",
|
233
|
-
"beginCaptures": {
|
234
|
-
"0": {
|
235
|
-
"name": "punctuation.definition.string.begin.html"
|
236
|
-
}
|
237
|
-
},
|
238
|
-
"end": "\"",
|
239
|
-
"endCaptures": {
|
240
|
-
"0": {
|
241
|
-
"name": "punctuation.definition.string.end.html"
|
242
|
-
}
|
243
|
-
},
|
244
|
-
"name": "string.quoted.double.html",
|
245
|
-
"patterns": [
|
246
|
-
{
|
247
|
-
"include": "#trans-tag"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"include": "#mt-variable-tag"
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"include": "#mt-container-tag"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"include": "#embedded-code"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"include": "#entities"
|
260
|
-
}
|
261
|
-
]
|
262
|
-
},
|
263
|
-
"string-single-quoted": {
|
264
|
-
"begin": "'",
|
265
|
-
"beginCaptures": {
|
266
|
-
"0": {
|
267
|
-
"name": "punctuation.definition.string.begin.html"
|
268
|
-
}
|
269
|
-
},
|
270
|
-
"end": "'",
|
271
|
-
"endCaptures": {
|
272
|
-
"0": {
|
273
|
-
"name": "punctuation.definition.string.end.html"
|
274
|
-
}
|
275
|
-
},
|
276
|
-
"name": "string.quoted.single.html",
|
277
|
-
"patterns": [
|
278
|
-
{
|
279
|
-
"include": "#trans-tag"
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"include": "#mt-variable-tag"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"include": "#mt-container-tag"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"include": "#embedded-code"
|
289
|
-
},
|
290
|
-
{
|
291
|
-
"include": "#entities"
|
292
|
-
}
|
293
|
-
]
|
294
|
-
},
|
295
|
-
"tag-generic-attribute": {
|
296
|
-
"match": "\\b([a-zA-Z-_:]+)",
|
297
|
-
"name": "entity.other.attribute-name.html"
|
298
|
-
},
|
299
|
-
"tag-stuff": {
|
300
|
-
"patterns": [
|
301
|
-
{
|
302
|
-
"include": "#trans-tag"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"include": "#tag-generic-attribute"
|
306
|
-
},
|
307
|
-
{
|
308
|
-
"include": "#string-double-quoted"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"include": "#string-single-quoted"
|
312
|
-
}
|
313
|
-
]
|
314
|
-
},
|
315
|
-
"trans-tag": {
|
316
|
-
"patterns": [
|
317
|
-
{
|
318
|
-
"begin": "(<)(__trans)",
|
319
|
-
"beginCaptures": {
|
320
|
-
"1": {
|
321
|
-
"name": "punctuation.definition.tag.mt"
|
322
|
-
},
|
323
|
-
"2": {
|
324
|
-
"name": "variable.other.mt"
|
325
|
-
}
|
326
|
-
},
|
327
|
-
"end": "(>)",
|
328
|
-
"endCaptures": {
|
329
|
-
"1": {
|
330
|
-
"name": "variable.other.mt"
|
331
|
-
},
|
332
|
-
"2": {
|
333
|
-
"name": "punctuation.definition.tag.mt"
|
334
|
-
}
|
335
|
-
},
|
336
|
-
"name": "meta.tag.mt.trans.html",
|
337
|
-
"patterns": [
|
338
|
-
{
|
339
|
-
"include": "#tag-stuff"
|
340
|
-
}
|
341
|
-
]
|
342
|
-
}
|
343
|
-
]
|
344
|
-
}
|
345
|
-
},
|
346
|
-
"scopeName": "text.html.mt",
|
347
|
-
"uuid": "7071B5CA-849A-4D88-A96E-DD725ED622BF"
|
348
|
-
}
|