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,48 @@
|
|
1
|
+
{
|
2
|
+
"comment": "Roughed out by Paul Bissex <http://e-scribe.com/news/>",
|
3
|
+
"fileTypes": [
|
4
|
+
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "^to \\w+",
|
7
|
+
"foldingStopMarker": "^end$",
|
8
|
+
"keyEquivalent": "^~L",
|
9
|
+
"name": "Logo",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"match": "^to [\\w.]+",
|
13
|
+
"name": "entity.name.function.logo"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"match": "continue|do\\.until|do\\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until",
|
17
|
+
"name": "keyword.control.logo"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"match": "\\b(\\.defmacro|\\.eq|\\.macro|\\.maybeoutput|\\.setbf|\\.setfirst|\\.setitem|\\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|array|arrayp|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buried|buriedp|bury|buryall|buryname|butfirst|butfirsts|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edn|edns|edpl|edpls|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|ern|erns|erpl|erpls|erps|erract|error|exp|fence|filep|fill|filter|find|first|firsts|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|list|listp|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|member|memberp|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendown|pendownp|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plist|plistp|plists|pllist|po|poall|pon|pons|pop|popl|popls|pops|pos|pot|pots|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchar|readchars|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|save|savel|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setx|setxy|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|stepped|steppedp|substringp|sum|tag|test|text|textscreen|thing|throw|towards|trace|traced|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|word|wordp|wrap|writepos|writer|xcor|ycor)\\b",
|
21
|
+
"name": "keyword.other.logo"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"captures": {
|
25
|
+
"1": {
|
26
|
+
"name": "punctuation.definition.variable.logo"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"match": "(\\:)(?:\\|[^|]*\\||[-\\w.]*)+",
|
30
|
+
"name": "variable.parameter.logo"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"match": "\"(?:\\|[^|]*\\||[-\\w.]*)+",
|
34
|
+
"name": "string.other.word.logo"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"captures": {
|
38
|
+
"1": {
|
39
|
+
"name": "punctuation.definition.comment.logo"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"match": "(;).*$\\n?",
|
43
|
+
"name": "comment.line.semicolon.logo"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"scopeName": "source.logo",
|
47
|
+
"uuid": "7613EC24-B0F9-4D01-8706-1D54098BFFD8"
|
48
|
+
}
|
data/config/syntax/Logtalk.json
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
"lgt",
|
4
4
|
"config"
|
5
5
|
],
|
6
|
-
"foldingStartMarker": "(
|
7
|
-
"foldingStopMarker": "(
|
6
|
+
"foldingStartMarker": "(/\\*|:-\\s+(object|protocol|category)(?=[(]))",
|
7
|
+
"foldingStopMarker": "(\\*/|:-\\s+end_(object|protocol|category)(?=[.]))",
|
8
8
|
"keyEquivalent": "^~L",
|
9
9
|
"name": "Logtalk",
|
10
10
|
"patterns": [
|
11
11
|
{
|
12
|
-
"begin": "
|
12
|
+
"begin": "/\\*",
|
13
13
|
"captures": {
|
14
14
|
"0": {
|
15
15
|
"name": "punctuation.definition.comment.logtalk"
|
16
16
|
}
|
17
17
|
},
|
18
|
-
"end": "
|
18
|
+
"end": "\\*/",
|
19
19
|
"name": "comment.block.logtalk"
|
20
20
|
},
|
21
21
|
{
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"name": "keyword.operator.comparison.arithmetic.logtalk"
|
103
103
|
},
|
104
104
|
{
|
105
|
-
"match": "(
|
105
|
+
"match": "(<<|>>|/\\\\|\\\\/|\\\\)",
|
106
106
|
"name": "keyword.operator.bitwise.logtalk"
|
107
107
|
},
|
108
108
|
{
|
@@ -110,7 +110,7 @@
|
|
110
110
|
"name": "keyword.operator.evaluable.logtalk"
|
111
111
|
},
|
112
112
|
{
|
113
|
-
"match": "(
|
113
|
+
"match": "(\\*\\*|\\+|-|\\*|/|//)",
|
114
114
|
"name": "keyword.operator.evaluable.logtalk"
|
115
115
|
},
|
116
116
|
{
|
data/config/syntax/Lua.json
CHANGED
@@ -428,7 +428,7 @@
|
|
428
428
|
"name": "keyword.other.matlab"
|
429
429
|
},
|
430
430
|
"matlab_storage_control": {
|
431
|
-
"comment": "File I
|
431
|
+
"comment": "File I/O",
|
432
432
|
"match": "(?<!\\.)\\b(addframe|ascii|audioplayer|audiorecorder|aufinfo|auread|auwrite|avifile|aviinfo|aviread|beep|binary|cdfepoch|cdfinfo|cdfread|cdfwrite|csvread|csvwrite|daqread|dlmread|dlmwrite|exifread|fclose|feof|ferror|fgetl|fgets|filehandle|filemarker|fileparts|filesep|fitsinfo|fitsread|fopen|fprintf|fread|frewind|fscanf|fseek|ftell|ftp|fullfile|fwrite|gunzip|gzip|hdf|hdf5|hdf5info|hdf5read|hdf5write|hdfinfo|hdfread|hdftool|imfinfo|importdata|imread|imwrite|lin2mu|load|memmapfile|mget|mmfileinfo|movie2avi|mput|mu2lin|multibandread|multibandwrite|open|rename|save|sendmail|sound|soundsc|tar|tempdir|tempname|textread|textscan|todatenum|uiimport|untar|unzip|urlread|urlwrite|wavfinfo|wavplay|wavread|wavrecord|wavwrite|winopen|wk1finfo|wk1read|wk1write|xlsfinfo|xlsread|xlswrite|xmlread|xmlwrite|xslt|zip)\\b",
|
433
433
|
"name": "storage.control.matlab"
|
434
434
|
},
|
@@ -649,12 +649,12 @@
|
|
649
649
|
},
|
650
650
|
"number": {
|
651
651
|
"comment": "Valid numbers: 1, .1, 1.1, .1e1, 1.1e1, 1e1, 1i, 1j, 1e2j",
|
652
|
-
"match": "(?<=[\\s
|
652
|
+
"match": "(?<=[\\s\\-\\+\\*\\/\\\\=:\\[\\(\\{,]|^)\\d*\\.?\\d+([eE][+-]?\\d)?([0-9&&[^\\.]])*(i|j)?\\b",
|
653
653
|
"name": "constant.numeric.matlab"
|
654
654
|
},
|
655
655
|
"operators": {
|
656
656
|
"comment": "Operator symbols",
|
657
|
-
"match": "\\s*(
|
657
|
+
"match": "\\s*(==|~=|>|>=|<|<=|&|&&|:|\\||\\|\\||\\+|-|\\*|\\.\\*|/|\\./|\\\\|\\.\\\\|\\^|\\.\\^)\\s*",
|
658
658
|
"name": "keyword.operator.symbols.matlab"
|
659
659
|
},
|
660
660
|
"parens": {
|
data/config/syntax/MEL.json
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
"fileTypes": [
|
3
3
|
"as"
|
4
4
|
],
|
5
|
-
"foldingStartMarker": "(
|
6
|
-
"foldingStopMarker": "(
|
5
|
+
"foldingStartMarker": "(/\\*\\*|\\{\\s*$)",
|
6
|
+
"foldingStopMarker": "(\\*\\*/|^\\s*\\})",
|
7
7
|
"keyEquivalent": "^~M",
|
8
8
|
"name": "MEL",
|
9
9
|
"patterns": [
|
@@ -62,7 +62,7 @@
|
|
62
62
|
"name": "punctuation.definition.variable.mel"
|
63
63
|
}
|
64
64
|
},
|
65
|
-
"match": "(\\$)[a-zA-Z_\\
|
65
|
+
"match": "(\\$)[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*?\\b",
|
66
66
|
"name": "variable.other.mel"
|
67
67
|
},
|
68
68
|
{
|
@@ -91,13 +91,13 @@
|
|
91
91
|
"name": "constant.language.mel"
|
92
92
|
},
|
93
93
|
{
|
94
|
-
"begin": "
|
94
|
+
"begin": "/\\*",
|
95
95
|
"captures": {
|
96
96
|
"0": {
|
97
97
|
"name": "punctuation.definition.comment.mel"
|
98
98
|
}
|
99
99
|
},
|
100
|
-
"end": "
|
100
|
+
"end": "\\*/",
|
101
101
|
"name": "comment.block.mel"
|
102
102
|
},
|
103
103
|
{
|
@@ -106,7 +106,7 @@
|
|
106
106
|
"name": "punctuation.definition.comment.mel"
|
107
107
|
}
|
108
108
|
},
|
109
|
-
"match": "(
|
109
|
+
"match": "(//).*$\\n?",
|
110
110
|
"name": "comment.line.double-slash.mel"
|
111
111
|
},
|
112
112
|
{
|
@@ -114,7 +114,7 @@
|
|
114
114
|
"name": "keyword.operator.mel"
|
115
115
|
},
|
116
116
|
{
|
117
|
-
"match": "[
|
117
|
+
"match": "[-\\!\\%\\&\\*\\+\\=\\/\\?\\:]",
|
118
118
|
"name": "keyword.operator.symbolic.mel"
|
119
119
|
},
|
120
120
|
{
|
File without changes
|
@@ -0,0 +1,298 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"Portfile"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "\\{\\s*$",
|
6
|
+
"foldingStopMarker": "^\\s*\\}",
|
7
|
+
"name": "MacPorts Portfile",
|
8
|
+
"patterns": [
|
9
|
+
{
|
10
|
+
"begin": "^\\s*(PortGroup)\\s+ruby(?!\\S)",
|
11
|
+
"beginCaptures": {
|
12
|
+
"1": {
|
13
|
+
"name": "keyword.other.tcl.macports"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"comment": "special case for ruby PortGroup",
|
17
|
+
"end": "$.^",
|
18
|
+
"patterns": [
|
19
|
+
{
|
20
|
+
"include": "$base"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"match": "^\\s*ruby\\.setup(?!\\S)",
|
24
|
+
"name": "keyword.other.tcl.macports"
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"begin": "^\\s*(PortGroup)\\s+perl5(?!\\S)",
|
30
|
+
"beginCaptures": {
|
31
|
+
"1": {
|
32
|
+
"name": "keyword.other.tcl.macports"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"comment": "special case for the perl5 PortGroup",
|
36
|
+
"end": "$.^",
|
37
|
+
"patterns": [
|
38
|
+
{
|
39
|
+
"include": "$base"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"match": "^\\s*perl5\\.setup(?!\\S)",
|
43
|
+
"name": "keyword.other.tcl.macports"
|
44
|
+
}
|
45
|
+
]
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"captures": {
|
49
|
+
"1": {
|
50
|
+
"name": "keyword.other.tcl.macports"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"comment": "Base commands",
|
54
|
+
"match": "^\\s*(PortSystem|PortGroup)(?!\\S)"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"captures": {
|
58
|
+
"1": {
|
59
|
+
"name": "keyword.other.tcl.macports"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"comment": "Procs defined with the `commands` keyword (ignore use_option-{delete,append} as it is useless)",
|
63
|
+
"match": "^\\s*(use_(?:configure|build|automake|autoconf|xmkmf|libtool|destroot|extract|cvs|svn|patch|test)|(?:configure|build|automake|autoconf|xmkmf|libtool|destroot|extract|cvs|svn|patch|test)\\.(?:dir|(?:pre_|post_)?args|env|type|cmd)(?:-(?:delete|append))?)(?!\\S)"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"captures": {
|
67
|
+
"1": {
|
68
|
+
"name": "keyword.other.tcl.macports"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"comment": "Procs defined with the `target_provides` keyword",
|
72
|
+
"match": "^\\s*((?:(?:pre|post)-)?(?:activate|build|checksum|clean|configure|destroot|distcheck|extract|fetch|install|livecheck|main|mirror|patch|pkg|mpkg|submit|test))(?!\\S)"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"captures": {
|
76
|
+
"1": {
|
77
|
+
"name": "keyword.other.tcl.macports"
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"comment": "Procs defined with the `options` keyword",
|
81
|
+
"match": "^\\s*((?:build\\.target|categories|checksum\\.skip|checksums|configure\\.(?:(?:c|cpp|cxx|objc|ld|f|f90|fc)flags|libs|classpath|perl|python|ruby|install)|cvs\\.(?:date|module|password|root|tag)|default_variants|depends_(?:build|lib|run)|destroot\\.(?:clean|destdir|keepdirs|target|umask|violate_mtree)|dist_subdir|distcheck\\.check|distfiles|distname|distpath|epoch|extract\\.(?:only|suffix)|fetch\\.(?:password|type|use_epsv|user)|filesdir|gnustep\\.domain|homepage|install\\.(?:group|user)|libpath|livecheck\\.(?:check|md5|name|distname|regex|url|version)|maintainers|(?:master|patch)_sites(?:\\.mirror_subdir)?|name|os\\.(?:arch|endian|platform|version)|patchfiles|platforms|portdbpath|portname|prefix|revision|sources_conf|startupitem\\.(?:create|executable|init|logevents|logfile|name|pidfile|requires|restart|start|stop|type)|svn\\.(?:tag|url)|test\\.(?:run|target)|use_bzip2|use_zip|version|workdir|worksrcdir|xcode\\.(?:build\\.settings|configuration|destroot\\.(?:path|settings|type)|project|target)|zope\\.need_subdir|macosx_deployment_target)(?:-(?:delete|append))?)(?!\\S)"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"captures": {
|
85
|
+
"1": {
|
86
|
+
"name": "keyword.other.tcl.macports"
|
87
|
+
}
|
88
|
+
},
|
89
|
+
"match": "^\\s*(universal_variant)(?!\\S)"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"begin": "^\\s*((?:long_)?description)(?!\\S)",
|
93
|
+
"beginCaptures": {
|
94
|
+
"1": {
|
95
|
+
"name": "keyword.other.tcl.macports"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"comment": "special-case description and long_description for backslash-newline escapes and string scoping",
|
99
|
+
"contentName": "string.unquoted.tcl.macports",
|
100
|
+
"end": "[\\n;]",
|
101
|
+
"patterns": [
|
102
|
+
{
|
103
|
+
"include": "#escape"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"include": "#string"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"include": "#braces"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"include": "#embedded"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"include": "#variable"
|
116
|
+
}
|
117
|
+
]
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"begin": "^(variant)(?!\\S)",
|
121
|
+
"captures": {
|
122
|
+
"1": {
|
123
|
+
"name": "keyword.other.variant.tcl.macports"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"end": "\\n",
|
127
|
+
"name": "meta.variant.tcl.macports",
|
128
|
+
"patterns": [
|
129
|
+
{
|
130
|
+
"match": "(?<=\\s)(?:provides|requires|conflicts|description)(?!\\S)",
|
131
|
+
"name": "keyword.other.variant.tcl.macports"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"match": "(?<=\\s)([\\w-]+)",
|
135
|
+
"name": "entity.name.function.variant.tcl.macports"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"include": "#string"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"begin": "(\\{)",
|
142
|
+
"beginCaptures": {
|
143
|
+
"1": {
|
144
|
+
"name": "punctuation.section.variant.tcl.macports"
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"end": "(\\})",
|
148
|
+
"endCaptures": {
|
149
|
+
"1": {
|
150
|
+
"name": "punctuation.terminator.variant.tcl.macports"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
"patterns": [
|
154
|
+
{
|
155
|
+
"include": "source.tcl.macports"
|
156
|
+
}
|
157
|
+
]
|
158
|
+
}
|
159
|
+
]
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"begin": "^(platform)(?:\\s+(\\S+))?(?:\\s+(\\S+))?(?:\\s+(\\S+))?\\s+(\\{)",
|
163
|
+
"beginCaptures": {
|
164
|
+
"1": {
|
165
|
+
"name": "keyword.other.variant.platform.tcl.macports"
|
166
|
+
},
|
167
|
+
"2": {
|
168
|
+
"name": "entity.name.function.variant.platform.tcl.macports"
|
169
|
+
},
|
170
|
+
"5": {
|
171
|
+
"name": "punctuation.section.variant.platform.tcl.macports"
|
172
|
+
}
|
173
|
+
},
|
174
|
+
"end": "(\\})",
|
175
|
+
"endCaptures": {
|
176
|
+
"1": {
|
177
|
+
"name": "punctuation.terminator.variant.platform.tcl.macports"
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"name": "meta.variant.platform.tcl.macports",
|
181
|
+
"patterns": [
|
182
|
+
{
|
183
|
+
"include": "source.tcl.macports"
|
184
|
+
}
|
185
|
+
]
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"match": "(?<=^|[\\[{;])\\s*(adduser|addgroup|dirSize|binaryInPath|archiveTypeIsSupported|variant_isset|xinstall|system|reinplace|flock|readdir|strsed|mkstemp|mktemp|existsuser|existsgroup|nextuid|nextgid|md5|find|filemap|rpm-vercomp|rmd160|sha1|compat|umask|sudo|mkfifo|unixsocketpair|mkchannelfromfd|pipe|curl|readline|rl_history|getuid|geteuid|setuid|seteuid|name_to_uid|uid_to_name|ldelete|delete|include)\\b",
|
189
|
+
"name": "keyword.other.tcl.macports"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"include": "source.tcl"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"repository": {
|
196
|
+
"bare-string": {
|
197
|
+
"begin": "(?:^|(?<=\\s))\"",
|
198
|
+
"comment": "imported from Tcl grammar",
|
199
|
+
"end": "\"(\\S*)",
|
200
|
+
"endCaptures": {
|
201
|
+
"1": {
|
202
|
+
"name": "invalid.illegal.tcl"
|
203
|
+
}
|
204
|
+
},
|
205
|
+
"patterns": [
|
206
|
+
{
|
207
|
+
"include": "#escape"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"include": "#variable"
|
211
|
+
}
|
212
|
+
]
|
213
|
+
},
|
214
|
+
"braces": {
|
215
|
+
"begin": "(?:^|(?<=\\s))\\{",
|
216
|
+
"comment": "imported from Tcl grammar",
|
217
|
+
"end": "\\}(\\S*)",
|
218
|
+
"endCaptures": {
|
219
|
+
"1": {
|
220
|
+
"name": "invalid.illegal.tcl"
|
221
|
+
}
|
222
|
+
},
|
223
|
+
"patterns": [
|
224
|
+
{
|
225
|
+
"match": "\\\\[{}\\n]",
|
226
|
+
"name": "constant.character.escape.tcl"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"include": "#inner-braces"
|
230
|
+
}
|
231
|
+
]
|
232
|
+
},
|
233
|
+
"embedded": {
|
234
|
+
"begin": "\\[",
|
235
|
+
"beginCaptures": {
|
236
|
+
"0": {
|
237
|
+
"name": "punctuation.section.embedded.begin.tcl"
|
238
|
+
}
|
239
|
+
},
|
240
|
+
"comment": "imported from Tcl grammar",
|
241
|
+
"end": "\\]",
|
242
|
+
"endCaptures": {
|
243
|
+
"0": {
|
244
|
+
"name": "punctuation.section.embedded.end.tcl"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"name": "source.tcl.embedded",
|
248
|
+
"patterns": [
|
249
|
+
{
|
250
|
+
"include": "source.tcl.macports"
|
251
|
+
}
|
252
|
+
]
|
253
|
+
},
|
254
|
+
"escape": {
|
255
|
+
"comment": "imported from Tcl grammar",
|
256
|
+
"match": "\\\\(\\d{1,3}|x[a-fA-F0-9]+|u[a-fA-F0-9]{1,4}|.|\\n)",
|
257
|
+
"name": "constant.character.escape.tcl"
|
258
|
+
},
|
259
|
+
"inner-braces": {
|
260
|
+
"begin": "\\{",
|
261
|
+
"comment": "imported from Tcl grammar",
|
262
|
+
"end": "\\}",
|
263
|
+
"patterns": [
|
264
|
+
{
|
265
|
+
"match": "\\\\[{}\\n]",
|
266
|
+
"name": "constant.character.escape.tcl"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"include": "#inner-braces"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"string": {
|
274
|
+
"applyEndPatternLast": 1,
|
275
|
+
"begin": "(?:^|(?<=\\s))(?=\")",
|
276
|
+
"comment": "imported from Tcl grammar",
|
277
|
+
"end": "",
|
278
|
+
"name": "string.quoted.double.tcl",
|
279
|
+
"patterns": [
|
280
|
+
{
|
281
|
+
"include": "#bare-string"
|
282
|
+
}
|
283
|
+
]
|
284
|
+
},
|
285
|
+
"variable": {
|
286
|
+
"captures": {
|
287
|
+
"1": {
|
288
|
+
"name": "punctuation.definition.variable.tcl"
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"comment": "imported from Tcl grammar",
|
292
|
+
"match": "(\\$)([a-zA-Z0-9_:]+(\\([^\\)]+\\))?|\\{[^\\}]*\\})",
|
293
|
+
"name": "variable.other.tcl"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"scopeName": "source.tcl.macports",
|
297
|
+
"uuid": "33EC56FE-2BD4-4B73-A6CD-73395F4E5E58"
|
298
|
+
}
|