diff options
| author | Noah Peart | 2024-04-30 03:19:11 -0700 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-09 10:42:34 +0300 |
| commit | 08799957f0bade04a8f65a06dac1606346ee8733 (patch) | |
| tree | e607ef9cf0b0cbfda2c3ec2fe5df5a2768a2ce45 /lisp/progmodes/python.el | |
| parent | 58a7b99823c5c42161e9acf2abf6c22afd4da4cd (diff) | |
| download | emacs-08799957f0bade04a8f65a06dac1606346ee8733.tar.gz emacs-08799957f0bade04a8f65a06dac1606346ee8733.zip | |
Add bitwise assignment operators to 'python--treesit-operators'
* lisp/progmodes/python.el (python--treesit-operators): Add
bitwise assignment operators. (Bug#70666)
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 764ef03da8a..0bee98871e4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1022,9 +1022,9 @@ It makes underscores and dots word constituent chars.") | |||
| 1022 | "copyright" "credits" "exit" "license" "quit")) | 1022 | "copyright" "credits" "exit" "license" "quit")) |
| 1023 | 1023 | ||
| 1024 | (defvar python--treesit-operators | 1024 | (defvar python--treesit-operators |
| 1025 | '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "%" "%=" | 1025 | '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "&=" "%" "%=" |
| 1026 | "^" "+" "->" "+=" "<" "<<" "<=" "<>" "=" ":=" "==" ">" ">=" ">>" "|" | 1026 | "^" "^=" "+" "->" "+=" "<" "<<" "<<=" "<=" "<>" "=" ":=" "==" ">" ">=" |
| 1027 | "~" "@" "@=")) | 1027 | ">>" ">>=" "|" "|=" "~" "@" "@=")) |
| 1028 | 1028 | ||
| 1029 | (defvar python--treesit-special-attributes | 1029 | (defvar python--treesit-special-attributes |
| 1030 | '("__annotations__" "__closure__" "__code__" | 1030 | '("__annotations__" "__closure__" "__code__" |