[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit 665751dff8 165/244: Ignore trailing space in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit 665751dff8 165/244: Ignore trailing space in Ruby blocks with arguments |
Date: |
Thu, 6 Jan 2022 02:58:58 -0500 (EST) |
branch: elpa/evil-matchit
commit 665751dff8621fa479a5d57b1cb395108046aaaf
Author: Sergio Gil PĂ©rez de la Manga <sgilperez@gmail.com>
Commit: GitHub <noreply@github.com>
Ignore trailing space in Ruby blocks with arguments
If the line where a block with arguments has trailing space, the regular
expression doesn't match, the `do` gets skipped and the matches are all wrong.
This change fixes it, I think it makes sense, since the regular expression for
the block without arguments does the same.
---
evil-matchit-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-matchit-ruby.el b/evil-matchit-ruby.el
index 45a0bf21a2..97872ef37c 100644
--- a/evil-matchit-ruby.el
+++ b/evil-matchit-ruby.el
@@ -34,7 +34,7 @@
(defvar evilmi-ruby-extract-keyword-howtos
'(("^[ \t]*[^ \t=]+[ \t]*=[ \t]*\\([a-z]+\\)\\( .*\\| *\\)$" 1)
("^[ \t]*\\([a-z]+\\)\\( .*\\| *\\)$" 1)
- ("^.* \\(do\\) |[a-z0-9A-Z_, *]+|$" 1)
+ ("^.* \\(do\\) |[a-z0-9A-Z_, *]+| *$" 1)
("^.* \\(do\\) *$" 1)
("^.* \\(end\\)\\..*$" 1)))
- [nongnu] elpa/evil-matchit 8a10046f25 145/244: fix python issue, (continued)
- [nongnu] elpa/evil-matchit 8a10046f25 145/244: fix python issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0d62d497d1 143/244: Fix typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4435f3ada5 128/244: evil-matchit-org: add :results: :end: drawer, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit a91ea21c4a 141/244: Fix typo in readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit fb5807c096 129/244: Merge pull request #82 from et2010/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4f3928db11 157/244: let evil-repeat ignore evilmi jump, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 43be86d8c4 171/244: support css-in-js styled components, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 2fc961d94b 122/244: fixed css-mode minor issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 2001c5be5f 147/244: ocaml: improve validation of keywords, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8fa4c1390d 163/244: can change shortcut from "%" to "m", ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 665751dff8 165/244: Ignore trailing space in Ruby blocks with arguments,
ELPA Syncer <=
- [nongnu] elpa/evil-matchit 848dc06902 183/244: clean code&do, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 1027459d44 180/244: more torelant to ruby syntax, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit d75d41d7b3 197/244: add unit test for c, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 25ad66d397 190/244: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 289982cbee 192/244: doc, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 9b228b097a 242/244: easier to add own rules, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 3417dbb275 117/244: Add ocaml support, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 80413a836a 121/244: Merge pull request #79 from msaffer/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 47894a6cc0 151/244: Merge pull request #93 from AitBits/patch-2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4c6b8f412f 159/244: Add autoload definitions, ELPA Syncer, 2022/01/06