mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
highlights(python): add support for pattern matching
Fixes #2080 Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
This commit is contained in:
parent
542d098e14
commit
c4e3564ea3
4 changed files with 54 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue