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

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

[elpa] externals/jinx ad2a322e06: Support yaml-mode (Fix #69)


From: ELPA Syncer
Subject: [elpa] externals/jinx ad2a322e06: Support yaml-mode (Fix #69)
Date: Tue, 9 May 2023 15:58:41 -0400 (EDT)

branch: externals/jinx
commit ad2a322e06891c7d23dbd860804dddebd626f963
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Support yaml-mode (Fix #69)
    
    yaml-mode and yaml-ts-mode are wrongly classified as text-modes.
---
 jinx.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/jinx.el b/jinx.el
index f1d5c97b66..eec348e75d 100644
--- a/jinx.el
+++ b/jinx.el
@@ -87,7 +87,13 @@
                font-lock-doc-face
                font-lock-string-face)
     (conf-mode font-lock-comment-face
-               font-lock-string-face))
+               font-lock-string-face)
+    ;; yaml-mode and yaml-ts-mode are text-modes,
+    ;; while they should better be conf- or prog-modes.
+    (yaml-mode font-lock-comment-face
+               font-lock-string-face)
+    (yaml-ts-mode font-lock-comment-face
+                  font-lock-string-face))
   "Alist of faces per major mode.
 These faces mark regions which should be included in spell
 checking."



reply via email to

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