[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/web-mode 25855a1f28 3/3: regexp highlight in ts
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/web-mode 25855a1f28 3/3: regexp highlight in ts |
Date: |
Fri, 23 Dec 2022 17:00:20 -0500 (EST) |
branch: elpa/web-mode
commit 25855a1f2868a2e10b941a41656fa8c00bdc0c62
Author: fxbois <fxbois@gmail.com>
Commit: fxbois <fxbois@gmail.com>
regexp highlight in ts
#1259
---
issues/1259.ts | 1 +
web-mode.el | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/issues/1259.ts b/issues/1259.ts
new file mode 100644
index 0000000000..3a2fc151e4
--- /dev/null
+++ b/issues/1259.ts
@@ -0,0 +1 @@
+And(/^no template should be selected/, () =>
context.composer.should("not.exist"));
diff --git a/web-mode.el b/web-mode.el
index 2c6711ad23..0440e34d6b 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -2,7 +2,7 @@
;; Copyright 2011-2023 François-Xavier Bois
-;; Version: 17.3.4
+;; Version: 17.3.5
;; Author: François-Xavier Bois
;; Maintainer: François-Xavier Bois <fxbois@gmail.com>
;; Package-Requires: ((emacs "23.1"))
@@ -23,7 +23,7 @@
;;---- CONSTS
------------------------------------------------------------------
-(defconst web-mode-version "17.3.4"
+(defconst web-mode-version "17.3.5"
"Web Mode version.")
;;---- GROUPS
------------------------------------------------------------------
@@ -5892,7 +5892,7 @@ Also return non-nil if it is the command
`self-insert-command' is remapped to."
((member content-type '("javascript" "json"))
(setq token-re "/\\|\"\\|'\\|`"))
((member content-type '("typescript"))
- (setq token-re "\"\\|'\\|`\\|//\\|/\\*"))
+ (setq token-re "/\\|\"\\|'\\|`\\|//\\|/\\*"))
((member content-type '("jsx"))
(setq token-re "/\\|\"\\|'\\|`\\|</?[[:alpha:]>]"))
((string= web-mode-content-type "css")
@@ -5974,7 +5974,7 @@ Also return non-nil if it is the command
`self-insert-command' is remapped to."
;;(message "after [%S>%S|%S] pt=%S" reg-beg reg-end depth (point))
)
- ((and (eq ?\/ ch-at) (member content-type '("javascript" "jsx")))
+ ((and (eq ?\/ ch-at) (member content-type '("javascript" "jsx"
"typescript")))
(cond
((eq ?\\ ch-before)
)