Add case and match to python--treesit-keywords (bug#59720)
* lisp/progmodes/python.el (python--treesit-keywords): Add "case" and "match" keywords.
This commit is contained in:
parent
16e68e64f9
commit
ad0563855f
1 changed files with 2 additions and 2 deletions
|
@ -967,9 +967,9 @@ It makes underscores and dots word constituent chars.")
|
|||
;; merge with `python-font-lock-keywords-level-2'.
|
||||
|
||||
(defvar python--treesit-keywords
|
||||
'("as" "assert" "async" "await" "break" "class" "continue" "def"
|
||||
'("as" "assert" "async" "await" "break" "case" "class" "continue" "def"
|
||||
"del" "elif" "else" "except" "exec" "finally" "for" "from"
|
||||
"global" "if" "import" "lambda" "nonlocal" "pass" "print"
|
||||
"global" "if" "import" "lambda" "match" "nonlocal" "pass" "print"
|
||||
"raise" "return" "try" "while" "with" "yield"
|
||||
;; These are technically operators, but we fontify them as
|
||||
;; keywords.
|
||||
|
|
Loading…
Add table
Reference in a new issue