[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ruby-end a761a0d84c 16/91: Fix expand on modifiers
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ruby-end a761a0d84c 16/91: Fix expand on modifiers |
Date: |
Wed, 25 Jan 2023 19:58:24 -0500 (EST) |
branch: externals/ruby-end
commit a761a0d84ce04b07d5555033fe63ad3c4f877364
Author: Roman Sokolov <sokolov.r.v@gmail.com>
Commit: Roman Sokolov <sokolov.r.v@gmail.com>
Fix expand on modifiers
When using statement modifiers, e.g.:
return 42 if has_towel?
ruby-end-mode expand it and annoy me :-)
This commit fixes it.
---
ruby-end.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruby-end.el b/ruby-end.el
index 62e1f4becb..a2cee7366e 100644
--- a/ruby-end.el
+++ b/ruby-end.el
@@ -57,7 +57,7 @@
"Keymap for `ruby-end-mode'.")
(defconst ruby-end-expand-before-re
-
"\\(?:^\\|\\s-+\\)\\(?:def\\|if\\|class\\|module\\|unless\\|case\\|while\\|do\\|until\\|for\\|begin\\)"
+
"^\\s-*\\(?:def\\|if\\|class\\|module\\|unless\\|case\\|while\\|do\\|until\\|for\\|begin\\)"
"Regular expression matching before point.")
(defconst ruby-end-expand-after-re
- [elpa] externals/ruby-end 45670f9134 26/91: Version bump., (continued)
- [elpa] externals/ruby-end 45670f9134 26/91: Version bump., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 3f9349c3d0 28/91: Update espuds., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 25baf1c7d8 31/91: Update espuds., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 18edd3af0b 32/91: Fix feature indentation., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end cc1f6cf297 34/91: Add 'ruby' keyword., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 5c6261a267 39/91: Do these even more interactively., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end be0e1a154f 42/91: Update copyright years., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 20025067e5 44/91: Add Carton., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end cf773a8702 48/91: Update README., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 5c6c7ceabd 49/91: Remove Espuds and Ecukes as submodules., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end a761a0d84c 16/91: Fix expand on modifiers,
ELPA Syncer <=
- [elpa] externals/ruby-end f090fbbf74 51/91: make sure to call fallback commands interactively, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end ec7c55036c 52/91: Merge branch 'jeffgran-master', ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 17cea12620 65/91: Release v0.3.0., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 2896cfa95b 61/91: Improve Makefile., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end d82798a377 74/91: Add autoload cookies to hooks, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end f5be7d8445 81/91: Don't use sudo on Travis, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end a8da09dcc8 79/91: Merge branch 'patch-1', ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end d96d77b932 06/91: Update description., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end ed15f7506b 07/91: Update mode description., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 648b81af13 77/91: Release v0.4.1, ELPA Syncer, 2023/01/25