emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 da946ca6924: Add missing python-ts-mode keyword (bug#67015)


From: Yuan Fu
Subject: emacs-29 da946ca6924: Add missing python-ts-mode keyword (bug#67015)
Date: Sat, 18 Nov 2023 14:02:02 -0500 (EST)

branch: emacs-29
commit da946ca6924b5ba1a1c785284406cf894aef12b5
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Add missing python-ts-mode keyword (bug#67015)
    
    * lisp/progmodes/python.el (python--treesit-keywords): Add "not in".
---
 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 d9ca37145e1..e17651d9275 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -969,7 +969,7 @@ It makes underscores and dots word constituent chars.")
     "raise" "return" "try" "while" "with" "yield"
     ;; These are technically operators, but we fontify them as
     ;; keywords.
-    "and" "in" "is" "not" "or"))
+    "and" "in" "is" "not" "or" "not in"))
 
 (defvar python--treesit-builtins
   '("abs" "all" "any" "ascii" "bin" "bool" "breakpoint" "bytearray"



reply via email to

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