mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(python): add match-case indents
This commit is contained in:
parent
a072d923c7
commit
1ffa019856
3 changed files with 23 additions and 0 deletions
15
tests/indent/python/match_case.py
Normal file
15
tests/indent/python/match_case.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
a = 0
|
||||
|
||||
def test_match_case():
|
||||
match a:
|
||||
case 1:
|
||||
return
|
||||
|
||||
|
||||
def test_match():
|
||||
match a:
|
||||
|
||||
|
||||
def test_case():
|
||||
match a:
|
||||
case b:
|
||||
Loading…
Add table
Add a link
Reference in a new issue