[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8678708ad10 2/2: Improve sigil fontification for elixir-ts-mode
From: |
Yuan Fu |
Subject: |
master 8678708ad10 2/2: Improve sigil fontification for elixir-ts-mode |
Date: |
Wed, 5 Apr 2023 02:01:33 -0400 (EDT) |
branch: master
commit 8678708ad10b17a4609c950a02cf39ab9ff86317
Author: Wilhelm H Kirschbaum <wkirschbaum@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Improve sigil fontification for elixir-ts-mode
* lisp/progmodes/elixir-ts-mode.el:
(elixir-ts--font-lock-settings): Update sigil queries.
---
lisp/progmodes/elixir-ts-mode.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lisp/progmodes/elixir-ts-mode.el b/lisp/progmodes/elixir-ts-mode.el
index e0335fe15ed..6d7420b63dc 100644
--- a/lisp/progmodes/elixir-ts-mode.el
+++ b/lisp/progmodes/elixir-ts-mode.el
@@ -455,16 +455,13 @@
:override t
`((sigil
(sigil_name) @elixir-ts-font-sigil-name-face
- quoted_start: _ @font-lock-string-face
- quoted_end: _ @font-lock-string-face
- (:match "^[sSwWpP]$" @elixir-ts-font-sigil-name-face))
+ (:match "^[sSwWpPUD]$" @elixir-ts-font-sigil-name-face))
@font-lock-string-face
(sigil
+ "~" @font-lock-string-face
(sigil_name) @elixir-ts-font-sigil-name-face
- quoted_start: _ @font-lock-regex-face
- quoted_end: _ @font-lock-regex-face
(:match "^[rR]$" @elixir-ts-font-sigil-name-face))
- @font-lock-regex-face
+ @font-lock-regexp-face
(sigil
"~" @font-lock-string-face
(sigil_name) @elixir-ts-font-sigil-name-face