emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-matchit 11352e24ff 083/244: support more pattern in l


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit 11352e24ff 083/244: support more pattern in lua-mode
Date: Thu, 6 Jan 2022 02:58:51 -0500 (EST)

branch: elpa/evil-matchit
commit 11352e24ff61155e31fa73d427fac5127d174d8f
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    support more pattern in lua-mode
---
 evil-matchit-script.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/evil-matchit-script.el b/evil-matchit-script.el
index bf52dad4be..ae321b365e 100644
--- a/evil-matchit-script.el
+++ b/evil-matchit-script.el
@@ -42,9 +42,9 @@
     ))
 
 (defvar evilmi-script-extract-keyword-howtos
-  '(("^.*= *\\(function\\) *(.*$" 1)
-    ("^[ \t]*\\([a-z]+\!?\\)\\( .*\\| *\\)$" 1)
-    ("^.* \\(do\\) |[a-z0-9A-Z,|]+|$" 1)))
+  '(("^.*\\(=\\|local\s\\)\s*\\(function\\)\s*.*$" 2)
+    ("^\s*\\([a-z]+\!?\\)\\(\s.*\\| *\\)$" 1)
+    ("^.*\s\\(do\\)\s|[a-z0-9A-Z,|]+|$" 1)))
 
 ;;;###autoload
 (defun evilmi-script-get-tag ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]