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

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

[nongnu] elpa/typescript-mode 706f938aef 155/222: force generic regex to


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 706f938aef 155/222: force generic regex to include symbol before it (#119)
Date: Sun, 6 Feb 2022 16:59:28 -0500 (EST)

branch: elpa/typescript-mode
commit 706f938aef0121eedda0dd3a0a53deb96d961191
Author: Ari Miller <arimiller92@gmail.com>
Commit: GitHub <noreply@github.com>

    force generic regex to include symbol before it (#119)
---
 typescript-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index c08fc95142..1ae5ebc564 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -2012,7 +2012,7 @@ This performs fontification according to 
`typescript--class-styles'."
 
     ;; generics support
     ,(list
-      (concat "<\\s-*" typescript--name-start-re)
+      (concat typescript--name-re "\\s-*" "<\\s-*" typescript--name-start-re)
       (list (concat "\\(" typescript--name-re "\\)\\(\\s-*>[^<]*\\)?")
             '(backward-char)
             '(end-of-line)



reply via email to

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