mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(font-lock-regexp-face): New face
* lisp/font-lock.el (font-lock-regexp-face): New face. * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--font-lock-settings): * lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings): * lisp/progmodes/js.el (js--treesit-font-lock-settings): Use it for regexps. * etc/NEWS: Mention the addition.
This commit is contained in:
parent
5ab03bcc43
commit
2ea6ee5cbf
5 changed files with 11 additions and 6 deletions
|
|
@ -3498,7 +3498,7 @@ This function is intended for use in `after-change-functions'."
|
|||
|
||||
:language 'javascript
|
||||
:feature 'string
|
||||
'((regex pattern: (regex_pattern)) @font-lock-string-face
|
||||
'((regex pattern: (regex_pattern)) @font-lock-regexp-face
|
||||
(string) @font-lock-string-face)
|
||||
|
||||
:language 'javascript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue