emacs-diffs
[Top][All Lists]
Advanced

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

feature/tree-sitter 2ec403f777 1/4: Utilize new face font-lock-escape-fa


From: Yuan Fu
Subject: feature/tree-sitter 2ec403f777 1/4: Utilize new face font-lock-escape-face in python-mode
Date: Fri, 11 Nov 2022 23:06:34 -0500 (EST)

branch: feature/tree-sitter
commit 2ec403f777adf39d3e972667513086f2053530dd
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Utilize new face font-lock-escape-face in python-mode
    
    * lisp/progmodes/python.el (python--treesit-settings): Use
    font-lock-escape-face rather than font-lock-constant-face.
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 61f29dd005..a5d02d0fcb 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1118,7 +1118,7 @@ be fontified."
    :feature 'escape-sequence
    :language 'python
    :override t
-   '((escape_sequence) @font-lock-constant-face))
+   '((escape_sequence) @font-lock-escape-face))
   "Tree-sitter font-lock settings.")
 
 



reply via email to

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