diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eb34b93e2fd..4fc5d24e2fb 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -967,9 +967,9 @@ It makes underscores and dots word constituent chars.") | |||
| 967 | ;; merge with `python-font-lock-keywords-level-2'. | 967 | ;; merge with `python-font-lock-keywords-level-2'. |
| 968 | 968 | ||
| 969 | (defvar python--treesit-keywords | 969 | (defvar python--treesit-keywords |
| 970 | '("as" "assert" "async" "await" "break" "class" "continue" "def" | 970 | '("as" "assert" "async" "await" "break" "case" "class" "continue" "def" |
| 971 | "del" "elif" "else" "except" "exec" "finally" "for" "from" | 971 | "del" "elif" "else" "except" "exec" "finally" "for" "from" |
| 972 | "global" "if" "import" "lambda" "nonlocal" "pass" "print" | 972 | "global" "if" "import" "lambda" "match" "nonlocal" "pass" "print" |
| 973 | "raise" "return" "try" "while" "with" "yield" | 973 | "raise" "return" "try" "while" "with" "yield" |
| 974 | ;; These are technically operators, but we fontify them as | 974 | ;; These are technically operators, but we fontify them as |
| 975 | ;; keywords. | 975 | ;; keywords. |