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

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

[nongnu] elpa/evil-matchit 2f8449cfec 057/244: support Laravel Blade Tem


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit 2f8449cfec 057/244: support Laravel Blade Templating
Date: Thu, 6 Jan 2022 02:58:49 -0500 (EST)

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

    support Laravel Blade Templating
---
 README.org               |   3 ++-
 evil-matchit-pkg.el      |   2 +-
 evil-matchit-template.el |  11 +++++++++--
 evil-matchit.el          |   4 ++--
 screencast.gif           | Bin 318348 -> 318349 bytes
 5 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/README.org b/README.org
index f48d80e5d1..7b07a83f27 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-matchit (v1.4.0)
+* evil-matchit (v1.4.1)
 
 Vim [[http://www.vim.org/scripts/script.php?script_id=39][matchit.vim]] by 
Benji Fisher ported into Emacs.
 
@@ -18,6 +18,7 @@ Many modern languages are supported:
 - Bash
 - Lua
 - PHP
+- Laravel Blade Templating
 - Vim script
 - Emacs email (mesage-mode)
 
diff --git a/evil-matchit-pkg.el b/evil-matchit-pkg.el
index dcda1408dc..6df02441c3 100644
--- a/evil-matchit-pkg.el
+++ b/evil-matchit-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-matchit" "1.4.0"
+(define-package "evil-matchit" "1.4.1"
                 "Vim matchit ported into Emacs (requires EVIL)")
diff --git a/evil-matchit-template.el b/evil-matchit-template.el
index 88dd969a9b..058f80c438 100644
--- a/evil-matchit-template.el
+++ b/evil-matchit-template.el
@@ -33,6 +33,7 @@
 
 (defvar evilmi-template-extract-keyword-howtos
   '(("^[ \t]*<\\?php +\\([a-z]+\\).*$" 1)
+    ("^[ \t]*\\([@a-z]+\\).*$" 1)
     ))
 
 (defvar evilmi-template-match-tags
@@ -40,6 +41,13 @@
     ("foreach" () "endforeach" "MONOGAMY")
     ("for" () "endfor" "MONOGAMY")
     ("while" () "endwhile" "MONOGAMY")
+    ("@section" () ("@show" "@stop" "@overwrite") "MONOGAMY")
+    ("@if" ("@elseif" "@else") "@endif" "MONOGAMY")
+    ("@unless" () "@endunless")
+    ("@for" () "@endfor" "MONOGAMY")
+    ("@foreach" () "@endforeach" "MONOGAMY")
+    ("@forelse" "@empty" "@endforelse" "MONOGAMY")
+    ("@while" () "@endwhile" "MONOGAMY")
     ))
 
 ;;;###autoload
@@ -50,7 +58,6 @@
 
 ;;;###autoload
 (defun evilmi-template-jump (rlt NUM)
-  (evilmi-sdk-jump rlt NUM evilmi-template-match-tags 
evilmi-template-extract-keyword-howtos)
-  )
+  (evilmi-sdk-jump rlt NUM evilmi-template-match-tags 
evilmi-template-extract-keyword-howtos))
 
 (provide 'evil-matchit-template)
diff --git a/evil-matchit.el b/evil-matchit.el
index 49329868ed..eb5a4e62a8 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -4,7 +4,7 @@
 
 ;; Author: Chen Bin <chenbin.sh@gmail.com>
 ;; URL: http://github.com/redguardtoo/evil-matchit
-;; Version: 1.4.0
+;; Version: 1.4.1
 ;; Keywords: matchit vim evil
 ;; Package-Requires: ((evil "1.0.7"))
 ;;
@@ -188,7 +188,7 @@
    ))
 
 ;;;###autoload
-(defun evilmi-version() (interactive) (message "1.4.0"))
+(defun evilmi-version() (interactive) (message "1.4.1"))
 
 ;;;###autoload
 (define-minor-mode evil-matchit-mode
diff --git a/screencast.gif b/screencast.gif
index 40c744007c..948a6a97f1 100644
Binary files a/screencast.gif and b/screencast.gif differ



reply via email to

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