From c4e3564ea31183ddcd00d6192efb2879977b420e Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 3 Dec 2021 19:10:11 +0100 Subject: highlights(python): add support for pattern matching Fixes #2080 Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140 --- queries/python/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queries/python/highlights.scm') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 0813c960b..ccbb2e79d 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -230,7 +230,7 @@ ["from" "import"] @include (aliased_import "as" @include) -["if" "elif" "else"] @conditional +["if" "elif" "else" "match" "case"] @conditional ["for" "while" "break" "continue"] @repeat -- cgit v1.2.3-70-g09d2