aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-10-24 23:24:02 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-10-25 12:14:53 +0200
commitc9241287719ccd38741850765649a25b09bdb4c2 (patch)
tree16a194fe22adfa1a5b207c040581fa4f4dceb2ab /queries/python/highlights.scm
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar.gz
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar.bz2
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar.lz
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar.xz
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.tar.zst
nvim-treesitter-c9241287719ccd38741850765649a25b09bdb4c2.zip
highlights(python): add "except*"
Added in https://github.com/tree-sitter/tree-sitter-python/pull/176 About the feature https://realpython.com/python311-exception-groups/#exception-groups-and-except-in-python-311
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 94fbe50b8..9649bf380 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -246,6 +246,7 @@
[
"try"
"except"
+ "except*"
"raise"
"finally"
] @exception