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,31 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"yaws"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|erl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)",
|
6
|
+
"foldingStopMarker": "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|erl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)",
|
7
|
+
"keyEquivalent": "^~E",
|
8
|
+
"name": "HTML (Erlang)",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"begin": "<erl>",
|
12
|
+
"captures": {
|
13
|
+
"0": {
|
14
|
+
"name": "punctuation.section.embedded.erlang"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"end": "</erl>",
|
18
|
+
"name": "source.erlang.embedded.html",
|
19
|
+
"patterns": [
|
20
|
+
{
|
21
|
+
"include": "source.erlang"
|
22
|
+
}
|
23
|
+
]
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"include": "text.html.basic"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"scopeName": "text.html.erlang.yaws",
|
30
|
+
"uuid": "3FBFF015-B650-4734-848C-47B53ACD5E32"
|
31
|
+
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
"inc"
|
6
6
|
],
|
7
7
|
"foldingStartMarker": "(<(?i:(head|table|div|style|script|ul|ol|form|dl))\\b.*?>|\\{)",
|
8
|
-
"foldingStopMarker": "(
|
8
|
+
"foldingStopMarker": "(</(?i:(head|table|div|style|script|ul|ol|form|dl))>|\\})",
|
9
9
|
"keyEquivalent": "^~T",
|
10
10
|
"name": "HTML (Tcl)",
|
11
11
|
"patterns": [
|
data/config/syntax/HTML.json
CHANGED
@@ -12,13 +12,13 @@
|
|
12
12
|
"ctp"
|
13
13
|
],
|
14
14
|
"firstLineMatch": "<!DOCTYPE|<(?i:html)|<\\?(?i:php)",
|
15
|
-
"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|<!--(?!.*--\\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
|
16
|
-
"foldingStopMarker": "(?x)\n\t\t(
|
15
|
+
"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|<!--(?!.*--\\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)",
|
16
|
+
"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|^(?!.*?<!--).*?--\\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)",
|
17
17
|
"keyEquivalent": "^~H",
|
18
18
|
"name": "HTML",
|
19
19
|
"patterns": [
|
20
20
|
{
|
21
|
-
"begin": "(<)([a-zA-Z0-9:]++)(?=[^>]
|
21
|
+
"begin": "(<)([a-zA-Z0-9:]++)(?=[^>]*></\\2>)",
|
22
22
|
"beginCaptures": {
|
23
23
|
"1": {
|
24
24
|
"name": "punctuation.definition.tag.html"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"name": "entity.name.tag.html"
|
28
28
|
}
|
29
29
|
},
|
30
|
-
"end": "(>(<)
|
30
|
+
"end": "(>(<)/)(\\2)(>)",
|
31
31
|
"endCaptures": {
|
32
32
|
"1": {
|
33
33
|
"name": "punctuation.definition.tag.html"
|
@@ -133,7 +133,7 @@
|
|
133
133
|
"include": "#embedded-code"
|
134
134
|
},
|
135
135
|
{
|
136
|
-
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]
|
136
|
+
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)",
|
137
137
|
"captures": {
|
138
138
|
"1": {
|
139
139
|
"name": "punctuation.definition.tag.html"
|
@@ -145,7 +145,7 @@
|
|
145
145
|
"name": "punctuation.definition.tag.html"
|
146
146
|
}
|
147
147
|
},
|
148
|
-
"end": "(
|
148
|
+
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
|
149
149
|
"name": "source.css.embedded.html",
|
150
150
|
"patterns": [
|
151
151
|
{
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"name": "punctuation.definition.tag.html"
|
159
159
|
}
|
160
160
|
},
|
161
|
-
"end": "(
|
161
|
+
"end": "(?=</(?i:style))",
|
162
162
|
"patterns": [
|
163
163
|
{
|
164
164
|
"include": "#embedded-code"
|
@@ -171,7 +171,7 @@
|
|
171
171
|
]
|
172
172
|
},
|
173
173
|
{
|
174
|
-
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]
|
174
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]*/>)",
|
175
175
|
"beginCaptures": {
|
176
176
|
"1": {
|
177
177
|
"name": "punctuation.definition.tag.html"
|
@@ -180,7 +180,7 @@
|
|
180
180
|
"name": "entity.name.tag.script.html"
|
181
181
|
}
|
182
182
|
},
|
183
|
-
"end": "(
|
183
|
+
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",
|
184
184
|
"endCaptures": {
|
185
185
|
"2": {
|
186
186
|
"name": "punctuation.definition.tag.html"
|
@@ -192,7 +192,7 @@
|
|
192
192
|
"include": "#tag-stuff"
|
193
193
|
},
|
194
194
|
{
|
195
|
-
"begin": "(
|
195
|
+
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
196
196
|
"captures": {
|
197
197
|
"1": {
|
198
198
|
"name": "punctuation.definition.tag.html"
|
@@ -201,7 +201,7 @@
|
|
201
201
|
"name": "entity.name.tag.script.html"
|
202
202
|
}
|
203
203
|
},
|
204
|
-
"end": "(
|
204
|
+
"end": "(</)((?i:script))",
|
205
205
|
"patterns": [
|
206
206
|
{
|
207
207
|
"captures": {
|
@@ -209,17 +209,17 @@
|
|
209
209
|
"name": "punctuation.definition.comment.js"
|
210
210
|
}
|
211
211
|
},
|
212
|
-
"match": "(
|
212
|
+
"match": "(//).*?((?=</script)|$\\n?)",
|
213
213
|
"name": "comment.line.double-slash.js"
|
214
214
|
},
|
215
215
|
{
|
216
|
-
"begin": "
|
216
|
+
"begin": "/\\*",
|
217
217
|
"captures": {
|
218
218
|
"0": {
|
219
219
|
"name": "punctuation.definition.comment.js"
|
220
220
|
}
|
221
221
|
},
|
222
|
-
"end": "
|
222
|
+
"end": "\\*/|(?=</script)",
|
223
223
|
"name": "comment.block.js"
|
224
224
|
},
|
225
225
|
{
|
@@ -233,7 +233,7 @@
|
|
233
233
|
]
|
234
234
|
},
|
235
235
|
{
|
236
|
-
"begin": "(
|
236
|
+
"begin": "(</?)((?i:body|head|html)\\b)",
|
237
237
|
"captures": {
|
238
238
|
"1": {
|
239
239
|
"name": "punctuation.definition.tag.html"
|
@@ -251,7 +251,7 @@
|
|
251
251
|
]
|
252
252
|
},
|
253
253
|
{
|
254
|
-
"begin": "(
|
254
|
+
"begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",
|
255
255
|
"beginCaptures": {
|
256
256
|
"1": {
|
257
257
|
"name": "punctuation.definition.tag.begin.html"
|
@@ -274,7 +274,7 @@
|
|
274
274
|
]
|
275
275
|
},
|
276
276
|
{
|
277
|
-
"begin": "(
|
277
|
+
"begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
|
278
278
|
"beginCaptures": {
|
279
279
|
"1": {
|
280
280
|
"name": "punctuation.definition.tag.begin.html"
|
@@ -283,7 +283,7 @@
|
|
283
283
|
"name": "entity.name.tag.inline.any.html"
|
284
284
|
}
|
285
285
|
},
|
286
|
-
"end": "((?:
|
286
|
+
"end": "((?: ?/)?>)",
|
287
287
|
"endCaptures": {
|
288
288
|
"1": {
|
289
289
|
"name": "punctuation.definition.tag.end.html"
|
@@ -297,7 +297,7 @@
|
|
297
297
|
]
|
298
298
|
},
|
299
299
|
{
|
300
|
-
"begin": "(
|
300
|
+
"begin": "(</?)([a-zA-Z0-9:]+)",
|
301
301
|
"beginCaptures": {
|
302
302
|
"1": {
|
303
303
|
"name": "punctuation.definition.tag.begin.html"
|
@@ -461,7 +461,7 @@
|
|
461
461
|
"name": "support.function.built-in.smarty"
|
462
462
|
}
|
463
463
|
},
|
464
|
-
"end": "(\\{
|
464
|
+
"end": "(\\{/(literal)\\})"
|
465
465
|
},
|
466
466
|
{
|
467
467
|
"begin": "{{|{",
|
data/config/syntax/Haskell.json
CHANGED
@@ -228,7 +228,7 @@
|
|
228
228
|
"name": "string.quoted.single.haskell"
|
229
229
|
},
|
230
230
|
{
|
231
|
-
"begin": "^\\s*([a-z_][a-zA-Z0-9_']*|\\([
|
231
|
+
"begin": "^\\s*([a-z_][a-zA-Z0-9_']*|\\([|!%$+\\-.,=</>]+\\))\\s*(::)",
|
232
232
|
"beginCaptures": {
|
233
233
|
"1": {
|
234
234
|
"name": "entity.name.function.haskell"
|
@@ -265,7 +265,7 @@
|
|
265
265
|
},
|
266
266
|
{
|
267
267
|
"comment": "In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*.",
|
268
|
-
"match": "[
|
268
|
+
"match": "[|!%$?~+:\\-.=</>\\\\]+",
|
269
269
|
"name": "keyword.operator.haskell"
|
270
270
|
},
|
271
271
|
{
|
@@ -307,7 +307,7 @@
|
|
307
307
|
]
|
308
308
|
},
|
309
309
|
"infix_op": {
|
310
|
-
"match": "(\\([
|
310
|
+
"match": "(\\([|!%$+:\\-.=</>]+\\)|\\(,+\\))",
|
311
311
|
"name": "entity.name.function.infix.haskell"
|
312
312
|
},
|
313
313
|
"module_exports": {
|
@@ -0,0 +1,135 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"dist"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "^\\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))",
|
6
|
+
"foldingStopMarker": "^\\s*(</[^>]+>|[/%]>|-->)\\s*$",
|
7
|
+
"keyEquivalent": "^~I",
|
8
|
+
"name": "Installer Distribution Script",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"begin": "((<)(script)(>))",
|
12
|
+
"captures": {
|
13
|
+
"1": {
|
14
|
+
"name": "meta.tag.xml"
|
15
|
+
},
|
16
|
+
"2": {
|
17
|
+
"name": "punctuation.definition.tag.xml"
|
18
|
+
},
|
19
|
+
"3": {
|
20
|
+
"name": "entity.name.tag.xml"
|
21
|
+
},
|
22
|
+
"4": {
|
23
|
+
"name": "punctuation.definition.tag.xml"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"end": "((</)(script)(>))",
|
27
|
+
"name": "source.js.embedded.apple-dist",
|
28
|
+
"patterns": [
|
29
|
+
{
|
30
|
+
"begin": "\\bsystem\\b",
|
31
|
+
"end": "(?=(\\(|\\s))|$",
|
32
|
+
"name": "support.class.apple-dist",
|
33
|
+
"patterns": [
|
34
|
+
{
|
35
|
+
"match": "\\b(compareVersions|defaults|gestalt|localizedString(WithFormat)?|localizedStandardString(WithFormat)?|log|propertiesOf|run(Once)?|sysctl|users\\.desktopSessionsCount|version)\\b",
|
36
|
+
"name": "support.function.apple-dist"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"begin": "\\b(applications)\\b",
|
40
|
+
"end": "(?=(\\(|\\s))|$",
|
41
|
+
"name": "support.function.apple-dist",
|
42
|
+
"patterns": [
|
43
|
+
{
|
44
|
+
"match": "\\b(fromPID|fromIdentifier|all)\\b",
|
45
|
+
"name": "support.variable.apple-dist"
|
46
|
+
}
|
47
|
+
]
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"begin": "\\b(files)\\b",
|
51
|
+
"end": "(?=(\\(|\\s))|$",
|
52
|
+
"name": "support.function.apple-dist",
|
53
|
+
"patterns": [
|
54
|
+
{
|
55
|
+
"match": "\\b(fileExistsAtPath|plistAtPath|bundleAtPath)\\b",
|
56
|
+
"name": "support.variable.apple-dist"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"begin": "\\b(ioregistry)\\b",
|
62
|
+
"end": "(?=(\\(|\\s))|$",
|
63
|
+
"name": "support.function.apple-dist",
|
64
|
+
"patterns": [
|
65
|
+
{
|
66
|
+
"match": "\\b(fromPath|matching(Class|Name)|(children|parents)Of)\\b",
|
67
|
+
"name": "support.variable.apple-dist"
|
68
|
+
}
|
69
|
+
]
|
70
|
+
}
|
71
|
+
]
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"begin": "\\b(choices)\\b",
|
75
|
+
"end": "(?=(\\(|\\s))|$",
|
76
|
+
"name": "support.class.apple-dist",
|
77
|
+
"patterns": [
|
78
|
+
{
|
79
|
+
"match": "\\b(.*)\\.(bundle|customLocation(AllowAlternateVolumes)?|description(-mime-type)?|(start_)?enabled|id|(start_)?selected|tooltip|(start_)?visible|title|packages|packageUpgradeAction)\\b",
|
80
|
+
"name": "support.variable.apple-dist"
|
81
|
+
}
|
82
|
+
]
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"begin": "\\bmy\\b",
|
86
|
+
"end": "(?=(\\(|\\s))|$",
|
87
|
+
"name": "support.class.apple-dist",
|
88
|
+
"patterns": [
|
89
|
+
{
|
90
|
+
"begin": "\\b(choice)\\b",
|
91
|
+
"end": "(?=(\\(|\\s))|$",
|
92
|
+
"name": "support.function.apple-dist",
|
93
|
+
"patterns": [
|
94
|
+
{
|
95
|
+
"match": "\\b(bundle|customLocation(AllowAlternateVolumes)?|description(-mime-type)?|(start_)?enabled|id|(start_)?selected|tooltip|(start_)?visible|title|packages|packageUpgradeAction)\\b",
|
96
|
+
"name": "support.variable.apple-dist"
|
97
|
+
}
|
98
|
+
]
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"begin": "\\b(result)\\b",
|
102
|
+
"end": "(?=(\\(|\\s))|$",
|
103
|
+
"name": "support.function.apple-dist",
|
104
|
+
"patterns": [
|
105
|
+
{
|
106
|
+
"match": "\\b(type|title|message)\\b",
|
107
|
+
"name": "support.variable.apple-dist"
|
108
|
+
}
|
109
|
+
]
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"begin": "\\b(target)\\b",
|
113
|
+
"end": "(?=(\\(|\\s))|$",
|
114
|
+
"name": "support.function.apple-dist",
|
115
|
+
"patterns": [
|
116
|
+
{
|
117
|
+
"match": "\\b(mountpoint|availableKilobytes|systemVersion|receiptForIdentifier)\\b",
|
118
|
+
"name": "support.variable.apple-dist"
|
119
|
+
}
|
120
|
+
]
|
121
|
+
}
|
122
|
+
]
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"include": "source.js"
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"include": "text.xml"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"scopeName": "text.xml.apple-dist",
|
134
|
+
"uuid": "25D29CD3-07B7-44C6-A96A-46CF771130EB"
|
135
|
+
}
|
data/config/syntax/Io.json
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
"fileTypes": [
|
3
3
|
"io"
|
4
4
|
],
|
5
|
-
"foldingStartMarker": "(
|
6
|
-
"foldingStopMarker": "(
|
5
|
+
"foldingStartMarker": "(/\\*\\*|\\([^\\)]*$|if\\()",
|
6
|
+
"foldingStopMarker": "(\\*\\*/|^\\s*\\))",
|
7
7
|
"keyEquivalent": "^~I",
|
8
8
|
"name": "Io",
|
9
9
|
"patterns": [
|
@@ -30,13 +30,13 @@
|
|
30
30
|
"name": "keyword.control.io"
|
31
31
|
},
|
32
32
|
{
|
33
|
-
"begin": "
|
33
|
+
"begin": "/\\*",
|
34
34
|
"captures": {
|
35
35
|
"0": {
|
36
36
|
"name": "punctuation.definition.comment.io"
|
37
37
|
}
|
38
38
|
},
|
39
|
-
"end": "
|
39
|
+
"end": "\\*/",
|
40
40
|
"name": "comment.block.io"
|
41
41
|
},
|
42
42
|
{
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"name": "punctuation.definition.comment.io"
|
46
46
|
}
|
47
47
|
},
|
48
|
-
"match": "(
|
48
|
+
"match": "(//).*$\\n?",
|
49
49
|
"name": "comment.line.double-slash.io"
|
50
50
|
},
|
51
51
|
{
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"name": "variable.language.io"
|
64
64
|
},
|
65
65
|
{
|
66
|
-
"match": "
|
66
|
+
"match": "<=|>=|=|:=|\\*|\\||\\|\\||\\+|-|/|&|&&|>|<|\\?|@|@@|\\b(and|or)\\b",
|
67
67
|
"name": "keyword.operator.io"
|
68
68
|
},
|
69
69
|
{
|
@@ -0,0 +1,151 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"json"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [{\\[] # the start of an object or array\n (?! # but not followed by\n .* # whatever\n [}\\]] # and the close of an object or array\n ,? # an optional comma\n \\s* # some optional space\n $ # at the end of the line\n )\n | # ...or...\n [{\\[] # the start of an object or array\n \\s* # some optional space\n $ # at the end of the line\n )",
|
6
|
+
"foldingStopMarker": "(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [}\\]] # and the close of an object or array\n )",
|
7
|
+
"keyEquivalent": "^~J",
|
8
|
+
"name": "JSON",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"include": "#value"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"repository": {
|
15
|
+
"array": {
|
16
|
+
"begin": "\\[",
|
17
|
+
"beginCaptures": {
|
18
|
+
"0": {
|
19
|
+
"name": "punctuation.definition.array.begin.json"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"end": "\\]",
|
23
|
+
"endCaptures": {
|
24
|
+
"0": {
|
25
|
+
"name": "punctuation.definition.array.end.json"
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"name": "meta.structure.array.json",
|
29
|
+
"patterns": [
|
30
|
+
{
|
31
|
+
"include": "#value"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"match": ",",
|
35
|
+
"name": "punctuation.separator.array.json"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"match": "[^\\s\\]]",
|
39
|
+
"name": "invalid.illegal.expected-array-separator.json"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"constant": {
|
44
|
+
"match": "\\b(?:true|false|null)\\b",
|
45
|
+
"name": "constant.language.json"
|
46
|
+
},
|
47
|
+
"number": {
|
48
|
+
"comment": "handles integer and decimal numbers",
|
49
|
+
"match": "(?x: # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional\n )",
|
50
|
+
"name": "constant.numeric.json"
|
51
|
+
},
|
52
|
+
"object": {
|
53
|
+
"begin": "\\{",
|
54
|
+
"beginCaptures": {
|
55
|
+
"0": {
|
56
|
+
"name": "punctuation.definition.dictionary.begin.json"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"comment": "a JSON object",
|
60
|
+
"end": "\\}",
|
61
|
+
"endCaptures": {
|
62
|
+
"0": {
|
63
|
+
"name": "punctuation.definition.dictionary.end.json"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"name": "meta.structure.dictionary.json",
|
67
|
+
"patterns": [
|
68
|
+
{
|
69
|
+
"comment": "the JSON object key",
|
70
|
+
"include": "#string"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"begin": ":",
|
74
|
+
"beginCaptures": {
|
75
|
+
"0": {
|
76
|
+
"name": "punctuation.separator.dictionary.key-value.json"
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"end": "(,)|(?=\\})",
|
80
|
+
"endCaptures": {
|
81
|
+
"1": {
|
82
|
+
"name": "punctuation.separator.dictionary.pair.json"
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"name": "meta.structure.dictionary.value.json",
|
86
|
+
"patterns": [
|
87
|
+
{
|
88
|
+
"comment": "the JSON object value",
|
89
|
+
"include": "#value"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"match": "[^\\s,]",
|
93
|
+
"name": "invalid.illegal.expected-dictionary-separator.json"
|
94
|
+
}
|
95
|
+
]
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"match": "[^\\s\\}]",
|
99
|
+
"name": "invalid.illegal.expected-dictionary-separator.json"
|
100
|
+
}
|
101
|
+
]
|
102
|
+
},
|
103
|
+
"string": {
|
104
|
+
"begin": "\"",
|
105
|
+
"beginCaptures": {
|
106
|
+
"0": {
|
107
|
+
"name": "punctuation.definition.string.begin.json"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"end": "\"",
|
111
|
+
"endCaptures": {
|
112
|
+
"0": {
|
113
|
+
"name": "punctuation.definition.string.end.json"
|
114
|
+
}
|
115
|
+
},
|
116
|
+
"name": "string.quoted.double.json",
|
117
|
+
"patterns": [
|
118
|
+
{
|
119
|
+
"match": "(?x: # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4} # and four hex digits\n )\n )",
|
120
|
+
"name": "constant.character.escape.json"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"match": "\\\\.",
|
124
|
+
"name": "invalid.illegal.unrecognized-string-escape.json"
|
125
|
+
}
|
126
|
+
]
|
127
|
+
},
|
128
|
+
"value": {
|
129
|
+
"comment": "the 'value' diagram at http://json.org",
|
130
|
+
"patterns": [
|
131
|
+
{
|
132
|
+
"include": "#constant"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"include": "#number"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"include": "#string"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"include": "#array"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"include": "#object"
|
145
|
+
}
|
146
|
+
]
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"scopeName": "source.json",
|
150
|
+
"uuid": "0C3868E4-F96B-4E55-B204-1DCB5A20748B"
|
151
|
+
}
|