From c3d4b4b91bdba866b296e489b73fa2a76501f939 Mon Sep 17 00:00:00 2001 From: Stefan Daschek Date: Sat, 16 Jul 2016 17:22:38 +0200 Subject: [PATCH] Submodule updates: PHP, Ruby, Shell Script, Source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PHP.tmbundle: 0398e3c..a5663f6 * 010cc1c Allow snippet to work in any document (Michael Sheets) This works anywhere in a PHP document and only at the very start of any other document. Along with the recent firstLineMatch changes in TextMate this means using the snippet on the first line of an untitled document will automatically set the document language to PHP. Due to this change the ⌃> shortcut has been removed. * c3dd29e Add `) operator (Marco A. Mena) Fixes atom/language-ruby#117 * d62dfcd Give symbols in method argument a symbol hashkey scope (Marco A. Mena) * a09cba6 Fix for multiple method arguments as symbols with parentheses (Marco A. Mena) * ade64e7 Fixed def method *args formatting (Marco A. Mena) Fixes atom/language-ruby#69 * 2f4eaaa Distinguish :: separators for methods/constants (Nikhil Narula) `::` isn't always a method separator in ruby, it also allows you to access module hierarchies and other constants. Constants are signified by starting with a capital letter. Discussed in atom/language-ruby#101 * 4e8cbf2 Prefer `::` over consecutively matching two `:` (Nikhil Narula) Discussed in atom/language-ruby#101 * b20afae Fix require special highlighting on method calls (Nikhil Narula) `require` should only be highlighted as a special method if it's not called on an object. Use negative look-behind to check if it's preceded by `.` or `::`. Discussed in atom/language-ruby#100 * 27a3ada Fix comparable operator symbol highlighting (Nikhil Narula) Now correctly matches `:<=>` instead of only matching the `:<=` portion. * 350b38f Support Emacs file mode comments (Tobias H. Michaelsen) Files starting with a comment line of the form: # -*- ruby -*- should be recognized as Ruby source. This “standard” originates from [Emacs], but is also used by others. [Emacs]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html * f28dec9 Support &&= as augmented assignment (Agent Antelope) This is to match ||=, |=, and &=. * 04cbd46 Allow symbols to start with $ (Michael Sheets) Discussed in atom/language-ruby#59. Handled in a different manner to only allow `$` as the first character similar to `@` usage. * 2ae484f Scope self as variable.language.self (Kevin Sawicki) Discussed in atom/language-ruby#54 * 005bcab Change iterator? to `keyword.control.pseudo-method` (Henry Goodman) This is to better match the scope given to `block_given?` which is synonymous with `iterator?` (although "mildly deprecated" according to Ruby docs). Discussed in atom/language-ruby#136 * 92c77b6 Correct matching of autoload?, iterator?, and exit! (Michael Sheets) A word boundary at the end of this match was preventing the rule from matching correctly. * 0472ab7 Add kernel methods as `support.function.kernel.ruby` (Spencer Steffen) Discussed in atom/language-ruby#27 * 35becc0 Allow ^ and !~ as method names (Michael Sheets) Mentioned in atom/language-ruby#23, list taken from [method syntax documentation](http://ruby-doc.org/core-2.3.0/doc/syntax/methods_rdoc.html). * 295b5ce Add != to method name regexes (Kevin Sawicki) Fixes atom/language-ruby#23 Shell Script.tmbundle: e257337..74dfde4 * 74dfde4 Inject into scope meta.embedded_bash (for use in Markdown code blocks). (Stefan Daschek) * 47cf94b Use ⇧^H for “Documentation for Word”. (Stefan Daschek) ^H now used by DashMate. * 9acbd91 Remove keybinding for 'Execute Line and Replace With Result'. (Stefan Daschek) We use ^R for RSpec (run in terminal), instead. * 887a69b #function-definition: Don't match illegal characters (Martin Kühl) Source.tmbundle: 525d1db..35030cd * 74adace Support underscore prefix when toggling _camelCase to _snake_case (Allan Odgaard) The support is for arbitrary prefixes but since cycling from snake_case would eat the underscores, it meant that previously the transformation could not be undone by continuing the cycling. This commit changes the ruby requirement to 2.0 but almost 99% of TextMate users are now on OS X 10.9 or higher (according to software update checks). * 092a20a Comments: Exclude from Paragraph Selection (Adam Strzelecki) This sets excludeFromParagraphSelection to true for comment.line scope. Previously when reformatting paragraph comment lines were selected as paragraph lines, this have led to mixing comment content into reformatted paragraph content breaking the syntax of reformatted code, eg.: some very long ... line of text # some comment some other long ... line of text As an effect we got: some very long ... ... text # some comment some other ... ... line of text The problem described above was especially visible when using ⌃Q to Reformat block of Git commit message, when below of the typed text there was a Git default comment. Also this problem could be noticeable by authors using LaTeX. Doing Select Paragraph ⌃⌥P again will select the comment as well. --- PHP.tmbundle | 2 +- Ruby.tmbundle | 2 +- Shell Script.tmbundle | 2 +- Source.tmbundle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PHP.tmbundle b/PHP.tmbundle index 0398e3c..a5663f6 160000 --- a/PHP.tmbundle +++ b/PHP.tmbundle @@ -1 +1 @@ -Subproject commit 0398e3c17540a09ff72536d0cc9f385d7a44ffd8 +Subproject commit a5663f6a2fc95d6e3c57af96e2bd8a67a3bb708e diff --git a/Ruby.tmbundle b/Ruby.tmbundle index dc7741c..261253b 160000 --- a/Ruby.tmbundle +++ b/Ruby.tmbundle @@ -1 +1 @@ -Subproject commit dc7741c2fb2d3a18361121afba8d7ba78db0bf57 +Subproject commit 261253ba56f295e8b47ba2200abf516ef2deeb09 diff --git a/Shell Script.tmbundle b/Shell Script.tmbundle index e257337..74dfde4 160000 --- a/Shell Script.tmbundle +++ b/Shell Script.tmbundle @@ -1 +1 @@ -Subproject commit e2573373b60609bec22b2b05ef3f39e35094a44e +Subproject commit 74dfde472539afc8ff5327f964935d3b20bd3a62 diff --git a/Source.tmbundle b/Source.tmbundle index 525d1db..35030cd 160000 --- a/Source.tmbundle +++ b/Source.tmbundle @@ -1 +1 @@ -Subproject commit 525d1dbbaa49397c5f517bd950a5c6316cb0b65f +Subproject commit 35030cda70f6eb4906f5deb1dd103dd134f1dba1