ver 2009.10.14 → 2009.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1094 -0
- data/MANIFEST +227 -25
- data/README.textile +185 -0
- data/bin/ver +96 -12
- data/config/detect.rb +73 -21
- data/config/keymap/emacs.rb +66 -0
- data/config/keymap/vim.rb +250 -140
- data/config/preferences/ANTLR.json +10 -0
- data/config/preferences/ASP vb.NET.json +3 -0
- data/config/preferences/ASP.json +15 -0
- data/config/preferences/ActionScript.json +755 -0
- data/config/preferences/Active4D.json +89 -0
- data/config/preferences/Ada.json +23 -0
- data/config/preferences/Ant.json +356 -0
- data/config/preferences/Apache.json +644 -0
- data/config/preferences/AppleScript.json +92 -0
- data/config/preferences/Bison.json +3 -0
- data/config/preferences/Blogging.json +3 -0
- data/config/preferences/C.json +127 -0
- data/config/preferences/CMake.json +41 -0
- data/config/preferences/CSS.json +461 -0
- data/config/preferences/CTags.json +3 -0
- data/config/preferences/CVS.json +3 -0
- data/config/preferences/ColdFusion.json +32 -0
- data/config/preferences/D.json +58 -0
- data/config/preferences/Darcs.json +3 -0
- data/config/preferences/Diff.json +67 -0
- data/config/preferences/DokuWiki.json +19 -0
- data/config/preferences/Doxygen.json +3 -0
- data/config/preferences/Dylan.json +3 -0
- data/config/preferences/Eiffel.json +59 -0
- data/config/preferences/Erlang.json +72 -0
- data/config/preferences/Experimental.json +1356 -0
- data/config/preferences/F-Script.json +87 -0
- data/config/preferences/FXScript.json +78 -0
- data/config/preferences/FileMerge.json +3 -0
- data/config/preferences/Fortran.json +158 -0
- data/config/preferences/GTD2.json +11 -0
- data/config/preferences/GTDAlt.json +20 -0
- data/config/preferences/GetBundle.json +3 -0
- data/config/preferences/Gettext.json +24 -0
- data/config/preferences/Graphviz.json +42 -0
- data/config/preferences/Greasemonkey.json +3 -0
- data/config/preferences/Gri.json +34 -0
- data/config/preferences/HTML.json +492 -0
- data/config/preferences/Haskell.json +72 -0
- data/config/preferences/Hotkey.json +3 -0
- data/config/preferences/ImageBrowser.json +3 -0
- data/config/preferences/Inform.json +3 -0
- data/config/preferences/Ini.json +60 -0
- data/config/preferences/Installer.json +3 -0
- data/config/preferences/Io.json +64 -0
- data/config/preferences/JSON.json +3 -0
- data/config/preferences/Java.json +86 -0
- data/config/preferences/JavaDoc.json +3 -0
- data/config/preferences/JavaScript.json +76 -0
- data/config/preferences/LaTeX.json +267 -0
- data/config/preferences/Lex/Flex.json +3 -0
- data/config/preferences/Lighttpd.json +3 -0
- data/config/preferences/LilyPond.json +77 -0
- data/config/preferences/Lisp.json +63 -0
- data/config/preferences/Logo.json +58 -0
- data/config/preferences/Logtalk.json +236 -0
- data/config/preferences/Lua.json +24 -0
- data/config/preferences/MEL.json +19 -0
- data/config/preferences/MIPS Assembler.json +26 -0
- data/config/preferences/MacPorts.json +3 -0
- data/config/preferences/Mail.json +3 -0
- data/config/preferences/Make.json +16 -0
- data/config/preferences/Markdown.json +102 -0
- data/config/preferences/Math.json +3 -0
- data/config/preferences/Matlab.json +128 -0
- data/config/preferences/Maven.json +308 -0
- data/config/preferences/Mediawiki.json +73 -0
- data/config/preferences/Mercurial.json +3 -0
- data/config/preferences/Modula.json +37 -0
- data/config/preferences/MoinMoin.json +52 -0
- data/config/preferences/Navigation.json +3 -0
- data/config/preferences/Nemerle.json +3 -0
- data/config/preferences/OCaml Code Completion.json +3 -0
- data/config/preferences/OCaml.json +163 -0
- data/config/preferences/ODCompletion.json +3 -0
- data/config/preferences/Objective-C.json +84 -0
- data/config/preferences/OpenGL.json +3331 -0
- data/config/preferences/Outlines.json +3 -0
- data/config/preferences/Pascal.json +60 -0
- data/config/preferences/Perforce.json +3 -0
- data/config/preferences/Perl.json +15 -0
- data/config/preferences/PmWiki.json +27 -0
- data/config/preferences/Postscript.json +15 -0
- data/config/preferences/Processing.json +32 -0
- data/config/preferences/Prolog.json +3 -0
- data/config/preferences/Propel.json +3 -0
- data/config/preferences/Python.json +38 -0
- data/config/preferences/Quake.json +15 -0
- data/config/preferences/R.json +33 -0
- data/config/preferences/Ragel.json +15 -0
- data/config/preferences/Regular Expressions.json +3 -0
- data/config/preferences/Remind.json +15 -0
- data/config/preferences/Rez.json +46 -0
- data/config/preferences/Ruby.json +98 -0
- data/config/preferences/S5 Slide Show.json +20 -0
- data/config/preferences/SCons.json +3 -0
- data/config/preferences/SQL.json +32 -0
- data/config/preferences/SSH Config.json +15 -0
- data/config/preferences/SVK.json +3 -0
- data/config/preferences/SWIG.json +3 -0
- data/config/preferences/SWeave.json +32 -0
- data/config/preferences/Scheme.json +35 -0
- data/config/preferences/Scilab.json +15 -0
- data/config/preferences/Setext.json +3 -0
- data/config/preferences/Shell Script.json +25 -0
- data/config/preferences/Slate.json +113 -0
- data/config/preferences/Source.json +132 -0
- data/config/preferences/Subversion.json +10 -0
- data/config/preferences/TODO.json +3 -0
- data/config/preferences/Tabular.json +3 -0
- data/config/preferences/Tcl.json +82 -0
- data/config/preferences/TerminalMate.json +112 -0
- data/config/preferences/Text.json +89 -0
- data/config/preferences/TextMate.json +38 -0
- data/config/preferences/Textile.json +76 -0
- data/config/preferences/Thrift.json +56 -0
- data/config/preferences/Transmit.json +3 -0
- data/config/preferences/Twiki.json +51 -0
- data/config/preferences/Txt2tags.json +81 -0
- data/config/preferences/Vectorscript.json +1280 -0
- data/config/preferences/XML.json +60 -0
- data/config/preferences/Xcode.json +3 -0
- data/config/preferences/YAML.json +24 -0
- data/config/preferences/iCalendar.json +10 -0
- data/config/preferences/iTerm.json +36 -0
- data/config/preferences/reStructuredText.json +48 -0
- data/config/rc.rb +49 -0
- data/config/syntax/ANTLR.json +5 -5
- data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
- data/config/syntax/ASP.json +1 -1
- data/config/syntax/ActionScript.json +6 -6
- data/config/syntax/Active4D Config.json +86 -0
- data/config/syntax/Active4D Library.json +20 -0
- data/config/syntax/Active4D.json +418 -0
- data/config/syntax/Ada.json +3 -3
- data/config/syntax/Ant.json +196 -0
- data/config/syntax/Apache.json +7 -7
- data/config/syntax/AppleScript.json +3 -3
- data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
- data/config/syntax/Bison.json +59 -0
- data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
- data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
- data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
- data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
- data/config/syntax/C++.json +3 -3
- data/config/syntax/C.json +13 -13
- data/config/syntax/CMake Listfile.json +171 -0
- data/config/syntax/CSS.json +6 -6
- data/config/syntax/CSV.json +108 -0
- data/config/syntax/ColdFusion.json +204 -0
- data/config/syntax/D.json +560 -0
- data/config/syntax/Diff.json +1 -1
- data/config/syntax/DokuWiki.json +412 -0
- data/config/syntax/Doxygen.json +80 -0
- data/config/syntax/Dylan.json +4 -4
- data/config/syntax/Erlang.json +5 -5
- data/config/syntax/F-Script.json +1 -1
- data/config/syntax/FXScript.json +5 -5
- data/config/syntax/Fortran - Modern.json +221 -0
- data/config/syntax/Fortran - Punchcard.json +468 -0
- data/config/syntax/GTD.json +39 -0
- data/config/syntax/GTDalt.json +233 -0
- data/config/syntax/Gettext.json +118 -0
- data/config/syntax/Go.json +555 -0
- data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
- data/config/syntax/Greasemonkey.json +56 -0
- data/config/syntax/Gri.json +4 -4
- data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
- data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
- data/config/syntax/HTML (Active4D).json +540 -0
- data/config/syntax/HTML (Erlang).json +31 -0
- data/config/syntax/HTML (Tcl).json +1 -1
- data/config/syntax/HTML.json +20 -20
- data/config/syntax/Haskell.json +3 -3
- data/config/syntax/Installer Distribution Script.json +135 -0
- data/config/syntax/Io.json +6 -6
- data/config/syntax/JSON.json +151 -0
- data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
- data/config/syntax/Java Server Page (JSP).json +163 -0
- data/config/syntax/Java.json +7 -7
- data/config/syntax/JavaDoc.json +435 -0
- data/config/syntax/JavaScript.json +8 -8
- data/config/syntax/LaTeX Log.json +3 -3
- data/config/syntax/LaTeX Memoir.json +101 -0
- data/config/syntax/LaTeX.json +2 -2
- data/config/syntax/Lex-Flex.json +396 -0
- data/config/syntax/LilyPond.json +608 -0
- data/config/syntax/Logo.json +48 -0
- data/config/syntax/Logtalk.json +6 -6
- data/config/syntax/Lua.json +1 -1
- data/config/syntax/{M.json → MATLAB.json} +3 -3
- data/config/syntax/MEL.json +7 -7
- data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
- data/config/syntax/MacPorts Portfile.json +298 -0
- data/config/syntax/Mail.json +1 -1
- data/config/syntax/Markdown.json +6 -6
- data/config/syntax/Maven POM.json +774 -0
- data/config/syntax/Mediawiki.json +736 -0
- data/config/syntax/MoinMoin.json +335 -0
- data/config/syntax/MultiMarkdown.json +41 -0
- data/config/syntax/Nemerle.json +128 -0
- data/config/syntax/OCaml.json +4 -4
- data/config/syntax/OCamllex.json +307 -0
- data/config/syntax/OCamlyacc.json +346 -0
- data/config/syntax/Objective-C++.json +2 -2
- data/config/syntax/Objective-C.json +979 -0
- data/config/syntax/Octave.json +417 -0
- data/config/syntax/PHP.json +32 -32
- data/config/syntax/Pascal.json +1 -1
- data/config/syntax/Perl.json +8 -8
- data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
- data/config/syntax/PmWiki.json +241 -0
- data/config/syntax/Postscript.json +206 -0
- data/config/syntax/Processing.json +8 -8
- data/config/syntax/Prolog.json +70 -0
- data/config/syntax/Python.json +1934 -0
- data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
- data/config/syntax/R.json +2 -2
- data/config/syntax/Ragel.json +362 -0
- data/config/syntax/Rd (R Documentation).json +119 -0
- data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
- data/config/syntax/Regular Expressions (Python).json +188 -0
- data/config/syntax/Release Notes.json +78 -0
- data/config/syntax/Remind.json +461 -0
- data/config/syntax/Rez.json +5 -5
- data/config/syntax/Ruby Sass.json +497 -0
- data/config/syntax/Ruby.json +13 -13
- data/config/syntax/S5 Slide Show.json +85 -0
- data/config/syntax/SQL.json +11 -11
- data/config/syntax/SSH Config.json +55 -0
- data/config/syntax/SWIG.json +2 -2
- data/config/syntax/SWeave.json +139 -0
- data/config/syntax/Scheme.json +8 -8
- data/config/syntax/Scilab.json +69 -0
- data/config/syntax/Setext.json +247 -0
- data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
- data/config/syntax/Slate.json +5 -5
- data/config/syntax/Strings File.json +53 -0
- data/config/syntax/TSV.json +83 -0
- data/config/syntax/Tcl.json +1 -1
- data/config/syntax/TeX Math.json +2 -2
- data/config/syntax/TeX.json +2 -2
- data/config/syntax/Textile.json +9 -9
- data/config/syntax/Thrift.json +641 -0
- data/config/syntax/Twiki.json +1 -1
- data/config/syntax/Txt2tags.json +154 -0
- data/config/syntax/XML strict.json +4 -4
- data/config/syntax/XML.json +6 -6
- data/config/syntax/XSL.json +2 -2
- data/config/syntax/camlp4.json +63 -0
- data/config/syntax/mod_perl.json +72 -0
- data/config/syntax/reStructuredText.json +1 -1
- data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
- data/config/tutorial +23 -19
- data/config/welcome +3 -3
- data/lib/ver.rb +273 -62
- data/lib/ver/entry.rb +142 -26
- data/lib/ver/font.rb +51 -0
- data/lib/ver/help.rb +16 -0
- data/lib/ver/help/describe_key.rb +82 -0
- data/lib/ver/help/help_for_help.rb +39 -0
- data/lib/ver/hover_completion.rb +129 -0
- data/lib/ver/keymap.rb +95 -24
- data/lib/ver/layout.rb +107 -43
- data/lib/ver/methods.rb +24 -8
- data/lib/ver/methods/clipboard.rb +91 -0
- data/lib/ver/methods/completion.rb +146 -71
- data/lib/ver/methods/control.rb +203 -222
- data/lib/ver/methods/ctags.rb +55 -0
- data/lib/ver/methods/delete.rb +30 -0
- data/lib/ver/methods/help.rb +7 -0
- data/lib/ver/methods/insert.rb +233 -1
- data/lib/ver/methods/move.rb +181 -32
- data/lib/ver/methods/open.rb +208 -0
- data/lib/ver/methods/preview.rb +14 -0
- data/lib/ver/methods/save.rb +111 -0
- data/lib/ver/methods/search.rb +57 -7
- data/lib/ver/methods/select.rb +97 -17
- data/lib/ver/methods/shortcuts.rb +21 -0
- data/lib/ver/methods/views.rb +56 -1
- data/lib/ver/mode.rb +60 -14
- data/lib/ver/status.rb +97 -19
- data/lib/ver/syntax.rb +14 -6
- data/lib/ver/syntax/detector.rb +16 -5
- data/lib/ver/syntax/processor.rb +9 -3
- data/lib/ver/text.rb +258 -199
- data/lib/ver/text/index.rb +103 -0
- data/lib/ver/theme.rb +27 -16
- data/lib/ver/tooltip.rb +59 -0
- data/lib/ver/vendor/binary_search.rb +61 -0
- data/lib/ver/vendor/levenshtein.rb +57 -0
- data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
- data/lib/ver/view.rb +65 -41
- data/lib/ver/view/console.rb +171 -0
- data/lib/ver/view/entry.rb +9 -5
- data/lib/ver/view/list.rb +44 -29
- data/lib/ver/view/list/ex.rb +71 -0
- data/lib/ver/view/list/grep.rb +42 -0
- data/lib/ver/view/list/methods.rb +159 -0
- data/lib/ver/view/term.rb +249 -0
- data/tasks/syntax_list.rake +3 -2
- data/ver.gemspec +4 -4
- metadata +230 -28
- data/config/syntax/Bulletin Board.json +0 -428
- data/config/syntax/HTML (Mason).json +0 -207
- data/config/syntax/HTML (Rails).json +0 -52
- data/config/syntax/Movable Type.json +0 -348
- data/config/syntax/Ruby on Rails.json +0 -170
- data/config/syntax/SQL (Rails).json +0 -31
- data/config/syntax/Smarty.json +0 -110
- data/config/syntax/Standard ML.json +0 -322
data/config/syntax/Ruby.json
CHANGED
@@ -12,8 +12,8 @@
|
|
12
12
|
"irbrc",
|
13
13
|
"capfile"
|
14
14
|
],
|
15
|
-
"firstLineMatch": "
|
16
|
-
"foldingStartMarker": "(?x)^\n\t (\\s*+\n\t (module|class|def(?!.*\\bend\\s*$)\n\t |unless|if\n\t |case\n\t |begin\n\t |for|while|until\n\t |^=begin\n\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\t | [^#\"'] # eat all but comments and strings\n\t )*\n\t ( \\s (do|begin|case)\n\t | (?<!\\$)[
|
15
|
+
"firstLineMatch": "^#!/.*\\bruby\\b",
|
16
|
+
"foldingStartMarker": "(?x)^\n\t (\\s*+\n\t (module|class|def(?!.*\\bend\\s*$)\n\t |unless|if\n\t |case\n\t |begin\n\t |for|while|until\n\t |^=begin\n\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\t | [^#\"'] # eat all but comments and strings\n\t )*\n\t ( \\s (do|begin|case)\n\t | (?<!\\$)[-+=&|*/~%^<>~] \\s*+ (if|unless)\n\t )\n\t )\\b\n\t (?! [^;]*+ ; .*? \\bend\\b )\n\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\t | [^#\"'] # eat all but comments and strings\n\t )*\n\t ( \\{ (?! [^}]*+ \\} )\n\t | \\[ (?! [^\\]]*+ \\] )\n\t )\n\t ).*$\n\t| [#] .*? \\(fold\\) \\s*+ $ # Sune\u2019s special marker\n\t",
|
17
17
|
"foldingStopMarker": "(?x)\n\t\t( (^|;) \\s*+ end \\s*+ ([#].*)? $\n\t\t| (^|;) \\s*+ end \\. .* $\n\t\t| ^ \\s*+ [}\\]] ,? \\s*+ ([#].*)? $\n\t\t| [#] .*? \\(end\\) \\s*+ $ # Sune\u2019s special marker\n\t\t| ^=end\n\t\t)",
|
18
18
|
"keyEquivalent": "^~R",
|
19
19
|
"name": "Ruby",
|
@@ -163,7 +163,7 @@
|
|
163
163
|
"name": "punctuation.definition.variable.ruby"
|
164
164
|
}
|
165
165
|
},
|
166
|
-
"match": "(\\$)(!|@|&|`|'|\\+|\\d
|
166
|
+
"match": "(\\$)(!|@|&|`|'|\\+|\\d+|~|=|/|\\\\|,|;|\\.|<|>|_|\\*|\\$|\\?|:|\"|-[0adFiIlpv])",
|
167
167
|
"name": "variable.other.readwrite.global.pre-defined.ruby"
|
168
168
|
},
|
169
169
|
{
|
@@ -190,7 +190,7 @@
|
|
190
190
|
"name": "variable.other.constant.ruby"
|
191
191
|
},
|
192
192
|
{
|
193
|
-
"begin": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\s+ # the def keyword\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[
|
193
|
+
"begin": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\s+ # the def keyword\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) ) # \u2026or an operator method\n\t\t\t \\s*(\\() # the openning parenthesis for arguments\n\t\t\t ",
|
194
194
|
"beginCaptures": {
|
195
195
|
"1": {
|
196
196
|
"name": "keyword.control.def.ruby"
|
@@ -218,7 +218,7 @@
|
|
218
218
|
]
|
219
219
|
},
|
220
220
|
{
|
221
|
-
"begin": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\s+ # the def keyword\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[
|
221
|
+
"begin": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\s+ # the def keyword\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) ) # \u2026or an operator method\n\t\t\t [ \\t] # the space separating the arguments\n\t\t\t (?=[ \\t]*[^\\s#]) # make sure arguments and not a comment follow\n\t\t\t ",
|
222
222
|
"beginCaptures": {
|
223
223
|
"1": {
|
224
224
|
"name": "keyword.control.def.ruby"
|
@@ -247,7 +247,7 @@
|
|
247
247
|
}
|
248
248
|
},
|
249
249
|
"comment": " the optional name is just to catch the def also without a method-name",
|
250
|
-
"match": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\b # the def keyword\n\t\t\t ( \\s+ # an optional group of whitespace followed by\u2026\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[
|
250
|
+
"match": "(?x)\n\t\t\t (?=def\\b) # an optimization to help Oniguruma fail fast\n\t\t\t (?<=^|\\s)(def)\\b # the def keyword\n\t\t\t ( \\s+ # an optional group of whitespace followed by\u2026\n\t\t\t ( (?>[a-zA-Z_]\\w*(?>\\.|::))? # a method name prefix\n\t\t\t (?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))? # the method name\n\t\t\t |===?|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?) ) )? # \u2026or an operator method\n\t\t\t ",
|
251
251
|
"name": "meta.function.method.without-arguments.ruby"
|
252
252
|
},
|
253
253
|
{
|
@@ -290,7 +290,7 @@
|
|
290
290
|
},
|
291
291
|
{
|
292
292
|
"comment": "Needs higher precidence than regular expressions.",
|
293
|
-
"match": "
|
293
|
+
"match": "/=",
|
294
294
|
"name": "keyword.operator.assignment.augmented.ruby"
|
295
295
|
},
|
296
296
|
{
|
@@ -496,7 +496,7 @@
|
|
496
496
|
]
|
497
497
|
},
|
498
498
|
{
|
499
|
-
"begin": "(?x)\n\t\t\t (?:\n\t\t\t ^ # beginning of line\n\t\t\t | (?<= # or look-behind on:\n\t\t\t [=>~(?:\\[,|&;]\n\t\t\t | [\\s;]if\\s\t\t\t# keywords\n\t\t\t | [\\s;]elsif\\s\n\t\t\t | [\\s;]while\\s\n\t\t\t | [\\s;]unless\\s\n\t\t\t | [\\s;]when\\s\n\t\t\t | [\\s;]assert_match\\s\n\t\t\t | [\\s;]or\\s\t\t\t# boolean opperators\n\t\t\t | [\\s;]and\\s\n\t\t\t | [\\s;]not\\s\n\t\t\t | [\\s.]index\\s\t\t\t# methods\n\t\t\t | [\\s.]scan\\s\n\t\t\t | [\\s.]sub\\s\n\t\t\t | [\\s.]sub!\\s\n\t\t\t | [\\s.]gsub\\s\n\t\t\t | [\\s.]gsub!\\s\n\t\t\t | [\\s.]match\\s\n\t\t\t )\n\t\t\t | (?<= # or a look-behind with line anchor:\n\t\t\t ^when\\s # duplication necessary due to limits of regex\n\t\t\t | ^if\\s\n\t\t\t | ^elsif\\s\n\t\t\t | ^while\\s\n\t\t\t | ^unless\\s\n\t\t\t )\n\t\t\t )\n\t\t\t \\s*((
|
499
|
+
"begin": "(?x)\n\t\t\t (?:\n\t\t\t ^ # beginning of line\n\t\t\t | (?<= # or look-behind on:\n\t\t\t [=>~(?:\\[,|&;]\n\t\t\t | [\\s;]if\\s\t\t\t# keywords\n\t\t\t | [\\s;]elsif\\s\n\t\t\t | [\\s;]while\\s\n\t\t\t | [\\s;]unless\\s\n\t\t\t | [\\s;]when\\s\n\t\t\t | [\\s;]assert_match\\s\n\t\t\t | [\\s;]or\\s\t\t\t# boolean opperators\n\t\t\t | [\\s;]and\\s\n\t\t\t | [\\s;]not\\s\n\t\t\t | [\\s.]index\\s\t\t\t# methods\n\t\t\t | [\\s.]scan\\s\n\t\t\t | [\\s.]sub\\s\n\t\t\t | [\\s.]sub!\\s\n\t\t\t | [\\s.]gsub\\s\n\t\t\t | [\\s.]gsub!\\s\n\t\t\t | [\\s.]match\\s\n\t\t\t )\n\t\t\t | (?<= # or a look-behind with line anchor:\n\t\t\t ^when\\s # duplication necessary due to limits of regex\n\t\t\t | ^if\\s\n\t\t\t | ^elsif\\s\n\t\t\t | ^while\\s\n\t\t\t | ^unless\\s\n\t\t\t )\n\t\t\t )\n\t\t\t \\s*((/))(?![*+{}?])\n\t\t\t",
|
500
500
|
"captures": {
|
501
501
|
"1": {
|
502
502
|
"name": "string.regexp.classic.ruby"
|
@@ -507,7 +507,7 @@
|
|
507
507
|
},
|
508
508
|
"comment": "regular expressions (normal)\n\t\t\twe only start a regexp if the character before it (excluding whitespace)\n\t\t\tis what we think is before a regexp\n\t\t\t",
|
509
509
|
"contentName": "string.regexp.classic.ruby",
|
510
|
-
"end": "((
|
510
|
+
"end": "((/[eimnosux]*))",
|
511
511
|
"patterns": [
|
512
512
|
{
|
513
513
|
"include": "#regex_sub"
|
@@ -916,7 +916,7 @@
|
|
916
916
|
}
|
917
917
|
},
|
918
918
|
"comment": "symbols",
|
919
|
-
"match": "(?<!:)(:)(?>[a-zA-Z_]\\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[
|
919
|
+
"match": "(?<!:)(:)(?>[a-zA-Z_]\\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?|@@?[a-zA-Z_]\\w*)",
|
920
920
|
"name": "constant.other.symbol.ruby"
|
921
921
|
},
|
922
922
|
{
|
@@ -926,7 +926,7 @@
|
|
926
926
|
}
|
927
927
|
},
|
928
928
|
"comment": "symbols",
|
929
|
-
"match": "(?>[a-zA-Z_]\\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[
|
929
|
+
"match": "(?>[a-zA-Z_]\\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?|@@?[a-zA-Z_]\\w*)(:)(?!:)",
|
930
930
|
"name": "constant.other.symbol.ruby.19syntax"
|
931
931
|
},
|
932
932
|
{
|
@@ -1345,7 +1345,7 @@
|
|
1345
1345
|
"name": "keyword.operator.logical.ruby"
|
1346
1346
|
},
|
1347
1347
|
{
|
1348
|
-
"match": "(
|
1348
|
+
"match": "(%|&|\\*\\*|\\*|\\+|\\-|/)",
|
1349
1349
|
"name": "keyword.operator.arithmetic.ruby"
|
1350
1350
|
},
|
1351
1351
|
{
|
@@ -1750,4 +1750,4 @@
|
|
1750
1750
|
},
|
1751
1751
|
"scopeName": "source.ruby",
|
1752
1752
|
"uuid": "E00B62AC-6B1C-11D9-9B1F-000D93589AF6"
|
1753
|
-
}
|
1753
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"s5"
|
4
|
+
],
|
5
|
+
"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)",
|
6
|
+
"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)",
|
7
|
+
"keyEquivalent": "^~S",
|
8
|
+
"name": "S5 Slide Show",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"captures": {
|
12
|
+
"1": {
|
13
|
+
"name": "keyword.other.s5"
|
14
|
+
},
|
15
|
+
"2": {
|
16
|
+
"name": "punctuation.separator.key-value.s5"
|
17
|
+
},
|
18
|
+
"3": {
|
19
|
+
"name": "string.unquoted.s5"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"match": "^([A-Za-z0-9]+)(:)\\s*(.*)$\\n?",
|
23
|
+
"name": "meta.header.s5"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"begin": "^(?![A-Za-z0-9]+:)",
|
27
|
+
"end": "^(?=not)possible$",
|
28
|
+
"patterns": [
|
29
|
+
{
|
30
|
+
"begin": "(^_{10}$)",
|
31
|
+
"beginCaptures": {
|
32
|
+
"1": {
|
33
|
+
"name": "meta.separator.handout.s5"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"comment": "\n\t\t\t\t\t\tname = 'meta.separator.handout.s5';\n\t\t\t\t\t\tmatch = '(^_{10}$)';\n\t\t\t\t\t",
|
37
|
+
"contentName": "text.html.markdown.handout.s5",
|
38
|
+
"end": "(?=^(?:(?:\u2702-{6})+|^#{10})$)",
|
39
|
+
"patterns": [
|
40
|
+
{
|
41
|
+
"include": "text.html.markdown"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"begin": "(^#{10}$)",
|
47
|
+
"beginCaptures": {
|
48
|
+
"1": {
|
49
|
+
"name": "meta.separator.notes.s5"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"comment": "\n\t\t\t\t\t\tname = 'meta.separator.notes.s5';\n\t\t\t\t\t\tmatch = '(^#{10}$)';\n\t\t\t\t\t",
|
53
|
+
"contentName": "text.html.markdown.notes.s5",
|
54
|
+
"end": "(?=^(?:(?:\u2702-{6})+|_{10})$)",
|
55
|
+
"patterns": [
|
56
|
+
{
|
57
|
+
"include": "text.html.markdown"
|
58
|
+
}
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"begin": "^((\u2702-{6})+$\\n)",
|
63
|
+
"beginCaptures": {
|
64
|
+
"1": {
|
65
|
+
"name": "meta.separator.slide.s5"
|
66
|
+
}
|
67
|
+
},
|
68
|
+
"comment": "\n\t\t\t\t\t\tname = 'meta.separator.slide.s5';\n\t\t\t\t\t\tmatch = '^((\u2702-{6})+$\\n)';\n\t\t\t\t\t",
|
69
|
+
"contentName": "text.html.markdown.slide.s5",
|
70
|
+
"end": "(?=^(?:(?:\u2702-{6})+|_{10}|#{10})$)",
|
71
|
+
"patterns": [
|
72
|
+
{
|
73
|
+
"include": "text.html.markdown"
|
74
|
+
}
|
75
|
+
]
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"include": "text.html.markdown"
|
79
|
+
}
|
80
|
+
]
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"scopeName": "source.s5",
|
84
|
+
"uuid": "84A2047B-4453-418D-B009-A3D3C60F3D1E"
|
85
|
+
}
|
data/config/syntax/SQL.json
CHANGED
@@ -172,7 +172,7 @@
|
|
172
172
|
"name": "keyword.operator.comparison.sql"
|
173
173
|
},
|
174
174
|
{
|
175
|
-
"match": "
|
175
|
+
"match": "-|\\+|/",
|
176
176
|
"name": "keyword.operator.math.sql"
|
177
177
|
},
|
178
178
|
{
|
@@ -180,12 +180,12 @@
|
|
180
180
|
"name": "keyword.operator.concatenator.sql"
|
181
181
|
},
|
182
182
|
{
|
183
|
-
"comment": "List of SQL99 built-in functions from http
|
183
|
+
"comment": "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
184
184
|
"match": "(?i)\\b(CURRENT_(DATE|TIME(STAMP)?|USER)|(SESSION|SYSTEM)_USER)\\b",
|
185
185
|
"name": "support.function.scalar.sql"
|
186
186
|
},
|
187
187
|
{
|
188
|
-
"comment": "List of SQL99 built-in functions from http
|
188
|
+
"comment": "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
189
189
|
"match": "(?i)\\b(AVG|COUNT|MIN|MAX|SUM)(?=\\s*\\()",
|
190
190
|
"name": "support.function.aggregate.sql"
|
191
191
|
},
|
@@ -233,13 +233,13 @@
|
|
233
233
|
"name": "comment.line.number-sign.sql"
|
234
234
|
},
|
235
235
|
{
|
236
|
-
"begin": "
|
236
|
+
"begin": "/\\*",
|
237
237
|
"captures": {
|
238
238
|
"0": {
|
239
239
|
"name": "punctuation.definition.comment.sql"
|
240
240
|
}
|
241
241
|
},
|
242
|
-
"end": "
|
242
|
+
"end": "\\*/",
|
243
243
|
"name": "comment.block.c"
|
244
244
|
}
|
245
245
|
]
|
@@ -247,13 +247,13 @@
|
|
247
247
|
"regexps": {
|
248
248
|
"patterns": [
|
249
249
|
{
|
250
|
-
"begin": "
|
250
|
+
"begin": "/(?=\\S.*/)",
|
251
251
|
"beginCaptures": {
|
252
252
|
"0": {
|
253
253
|
"name": "punctuation.definition.string.begin.sql"
|
254
254
|
}
|
255
255
|
},
|
256
|
-
"end": "
|
256
|
+
"end": "/",
|
257
257
|
"endCaptures": {
|
258
258
|
"0": {
|
259
259
|
"name": "punctuation.definition.string.end.sql"
|
@@ -265,7 +265,7 @@
|
|
265
265
|
"include": "#string_interpolation"
|
266
266
|
},
|
267
267
|
{
|
268
|
-
"match": "
|
268
|
+
"match": "\\\\/",
|
269
269
|
"name": "constant.character.escape.slash.sql"
|
270
270
|
}
|
271
271
|
]
|
@@ -317,7 +317,7 @@
|
|
317
317
|
"name": "punctuation.definition.string.end.sql"
|
318
318
|
}
|
319
319
|
},
|
320
|
-
"comment": "this is faster than the next begin
|
320
|
+
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
321
321
|
"match": "(')[^'\\\\]*(')",
|
322
322
|
"name": "string.quoted.single.sql"
|
323
323
|
},
|
@@ -350,7 +350,7 @@
|
|
350
350
|
"name": "punctuation.definition.string.end.sql"
|
351
351
|
}
|
352
352
|
},
|
353
|
-
"comment": "this is faster than the next begin
|
353
|
+
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
354
354
|
"match": "(`)[^`\\\\]*(`)",
|
355
355
|
"name": "string.quoted.other.backtick.sql"
|
356
356
|
},
|
@@ -383,7 +383,7 @@
|
|
383
383
|
"name": "punctuation.definition.string.end.sql"
|
384
384
|
}
|
385
385
|
},
|
386
|
-
"comment": "this is faster than the next begin
|
386
|
+
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
387
387
|
"match": "(\")[^\"#]*(\")",
|
388
388
|
"name": "string.quoted.double.sql"
|
389
389
|
},
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"ssh_config",
|
4
|
+
".ssh/config",
|
5
|
+
"sshd_config"
|
6
|
+
],
|
7
|
+
"name": "SSH Config",
|
8
|
+
"patterns": [
|
9
|
+
{
|
10
|
+
"match": "\\b(AddressFamily|B(atchMode|indAddress)|C(hallengeResponseAuthentication|heckHostIP|iphers?|learAllForwardings|ompression(Level)?|onnect(Timeout|ionAttempts)|ontrolMaster|ontrolPath)|DynamicForward|E(nableSSHKeysign|scapeChar)|Forward(Agent|X11(Trusted)?)|G(SSAPI(Authentication|DelegateCredentials)|atewayPorts|lobalKnownHostsFile)|Host(KeyAlgorithms|KeyAlias|Name|basedAuthentication)|Identit(iesOnly|yFile)|L(ocalForward|ogLevel)|MACs|N(oHostAuthenticationForLocalhost|umberOfPasswordPrompts)|P(asswordAuthentication|ort|referredAuthentications|rotocol|roxyCommand|ubkeyAuthentication)|R(SAAuthentication|emoteForward|hostsRSAAuthentication)|S(erverAliveCountMax|erverAliveInterval|martcardDevice|trictHostKeyChecking)|TCPKeepAlive|U(sePrivilegedPort|ser(KnownHostsFile)?)|VerifyHostKeyDNS|XAuthLocation)\\b",
|
11
|
+
"name": "keyword.other.ssh-config"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"captures": {
|
15
|
+
"1": {
|
16
|
+
"name": "comment.line.number-sign.ssh-config"
|
17
|
+
},
|
18
|
+
"2": {
|
19
|
+
"name": "punctuation.definition.comment.ssh-config"
|
20
|
+
},
|
21
|
+
"3": {
|
22
|
+
"name": "comment.line.double-slash.ssh-config"
|
23
|
+
},
|
24
|
+
"4": {
|
25
|
+
"name": "punctuation.definition.comment.ssh-config"
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"match": "((#).*$\\n?)|((//).*$\\n?)"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"captures": {
|
32
|
+
"1": {
|
33
|
+
"name": "storage.type.ssh-config"
|
34
|
+
},
|
35
|
+
"2": {
|
36
|
+
"name": "entity.name.section.ssh-config"
|
37
|
+
},
|
38
|
+
"3": {
|
39
|
+
"name": "meta.toc-list.ssh-config"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"match": "(?:^| |\\t)(Host)\\s+((.*))$"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"match": "\\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b",
|
46
|
+
"name": "constant.numeric.ssh-config"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"match": "\\b[0-9]+\\b",
|
50
|
+
"name": "constant.numeric.ssh-config"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"scopeName": "source.ssh-config",
|
54
|
+
"uuid": "B273855C-59D3-4DF3-9B7C-E68E0057D315"
|
55
|
+
}
|
data/config/syntax/SWIG.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
"i",
|
4
4
|
"swg"
|
5
5
|
],
|
6
|
-
"foldingStartMarker": "(
|
7
|
-
"foldingStopMarker": "(
|
6
|
+
"foldingStartMarker": "(/\\*\\*|%?\\{\\s*$)",
|
7
|
+
"foldingStopMarker": "(\\*\\*/|^\\s*%?\\})",
|
8
8
|
"keyEquivalent": "^~S",
|
9
9
|
"name": "SWIG",
|
10
10
|
"patterns": [
|
@@ -0,0 +1,139 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"Snw",
|
4
|
+
"Rnw",
|
5
|
+
"snw",
|
6
|
+
"rnw"
|
7
|
+
],
|
8
|
+
"foldingStartMarker": "^<<(.?*)>>=|\\\\begin\\{.*\\}",
|
9
|
+
"foldingStopMarker": "^@(.?*)$|\\\\end\\{.*\\}",
|
10
|
+
"keyEquivalent": "^~S",
|
11
|
+
"name": "SWeave",
|
12
|
+
"patterns": [
|
13
|
+
{
|
14
|
+
"begin": "^(<<)",
|
15
|
+
"beginCaptures": {
|
16
|
+
"1": {
|
17
|
+
"name": "punctuation.definition.parameters.begin.sweave"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"end": "(>>)(?==)",
|
21
|
+
"endCaptures": {
|
22
|
+
"1": {
|
23
|
+
"name": "punctuation.definition.parameters.end.sweave"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"name": "meta.block.parameters.sweave",
|
27
|
+
"patterns": [
|
28
|
+
{
|
29
|
+
"captures": {
|
30
|
+
"1": {
|
31
|
+
"name": "keyword.other.name-of-parameter.sweave"
|
32
|
+
},
|
33
|
+
"2": {
|
34
|
+
"name": "punctuation.separator.key-value.sweave"
|
35
|
+
},
|
36
|
+
"3": {
|
37
|
+
"name": "constant.language.boolean.sweave"
|
38
|
+
},
|
39
|
+
"4": {
|
40
|
+
"name": "constant.language.results.sweave"
|
41
|
+
},
|
42
|
+
"5": {
|
43
|
+
"name": "string.unquoted.label.sweave"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"match": "(\\w+)(=)(?:(true|false)|(verbatim|tex|hide)|([\\w.]+))",
|
47
|
+
"name": "meta.parameter.sweave"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"match": "[\\w.]+",
|
51
|
+
"name": "string.unquoted.label.sweave"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"match": ",",
|
55
|
+
"name": "punctuation.separator.parameters.sweave"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"begin": "(?<=>>)(=)(.*)\\n",
|
61
|
+
"beginCaptures": {
|
62
|
+
"1": {
|
63
|
+
"name": "punctuation.section.embedded.begin.sweave"
|
64
|
+
},
|
65
|
+
"2": {
|
66
|
+
"name": "comment.line.other.sweave"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"contentName": "source.r.embedded.sweave",
|
70
|
+
"end": "^(@)(.*)$",
|
71
|
+
"endCaptures": {
|
72
|
+
"1": {
|
73
|
+
"name": "punctuation.section.embedded.end.sweave"
|
74
|
+
},
|
75
|
+
"2": {
|
76
|
+
"name": "comment.line.other.sweave"
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"name": "meta.block.code.sweave",
|
80
|
+
"patterns": [
|
81
|
+
{
|
82
|
+
"match": "^\\s+@.*\\n?",
|
83
|
+
"name": "invalid.illegal.sweave"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"include": "source.r"
|
87
|
+
}
|
88
|
+
]
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"match": "^\\s+<<.*\\n?",
|
92
|
+
"name": "invalid.illegal.sweave"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"begin": "^\\\\begin(\\{)Scode(\\})",
|
96
|
+
"captures": {
|
97
|
+
"1": {
|
98
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
99
|
+
},
|
100
|
+
"2": {
|
101
|
+
"name": "punctuation.definition.arguments.end.latex"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"contentName": "source.r.embedded.sweave",
|
105
|
+
"end": "^\\\\end(\\{)Scode(\\})",
|
106
|
+
"name": "meta.block.source.r",
|
107
|
+
"patterns": [
|
108
|
+
{
|
109
|
+
"include": "source.r"
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"begin": "\\\\Sexpr(\\{)",
|
115
|
+
"beginCaptures": {
|
116
|
+
"1": {
|
117
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
"end": "(\\})",
|
121
|
+
"endCaptures": {
|
122
|
+
"1": {
|
123
|
+
"name": "punctuation.definition.arguments.end.latex"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"name": "source.r.embedded.sweave",
|
127
|
+
"patterns": [
|
128
|
+
{
|
129
|
+
"include": "source.r"
|
130
|
+
}
|
131
|
+
]
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"include": "text.tex.latex"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"scopeName": "text.tex.latex.sweave",
|
138
|
+
"uuid": "1F450973-8259-4BA2-A754-48C634561A13"
|
139
|
+
}
|