branch: master
commit 764f4b6aebca0a59093932f105de0da7e1efc544
Author: hura <h...@users.noreply.github.com>
Commit: hura <h...@users.noreply.github.com>

    hydra.el (hydra--format): Amend key regex
    
    Recognize the '{' and '}' keys.
---
 hydra.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hydra.el b/hydra.el
index bd05551..46465c8 100644
--- a/hydra.el
+++ b/hydra.el
@@ -462,7 +462,7 @@ The expressions can be auto-expanded according to NAME."
         offset)
     (while (setq start
                  (string-match
-                  "\\(?:%\\( 
?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( 
?-?[0-9]*\\)\\([a-z-~A-Z0-9/|?<>=]+\\)_\\)"
+                  "\\(?:%\\( 
?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( 
?-?[0-9]*\\)\\([a-z-~A-Z0-9/|?<>={}]+\\)_\\)"
                   docstring start))
       (cond ((eq ?_ (aref (match-string 0 docstring) 0))
              (let* ((key (match-string 4 docstring))

Reply via email to