projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0128495
)
Add missing python-ts-mode keyword (bug#67015)
author
Yuan Fu
<casouri@gmail.com>
Sat, 18 Nov 2023 19:01:08 +0000
(11:01 -0800)
committer
Yuan Fu
<casouri@gmail.com>
Sat, 18 Nov 2023 19:01:46 +0000
(11:01 -0800)
* lisp/progmodes/python.el (python--treesit-keywords): Add "not in".
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index d9ca37145e1923c8fdc57bcea5bd4daf4f4f1933..e17651d9275a57f43f882435d12726f4e1014ddd 100644
(file)
--- 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"