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

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

[nongnu] elpa/evil-matchit 01ade592db 114/244: enhance js matching algor


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit 01ade592db 114/244: enhance js matching algorithm
Date: Thu, 6 Jan 2022 02:58:54 -0500 (EST)

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

    enhance js matching algorithm
---
 evil-matchit-simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-matchit-simple.el b/evil-matchit-simple.el
index 4b42b52eae..82d5cf6c92 100644
--- a/evil-matchit-simple.el
+++ b/evil-matchit-simple.el
@@ -84,7 +84,7 @@
       (evilmi--simple-jump))
 
     ;; hack for javascript
-    (if (string-match "^[ \t]*})(.*)\; *$"
+    (if (string-match "^[ \t]*})\\((.*)\\)?\; *$"
                       (evilmi-sdk-curline))
         (line-end-position)
       (1+ (point)))))



reply via email to

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