mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
feat(python): add break/continue dedent
This commit is contained in:
parent
1ffa019856
commit
c9ef5e58f7
3 changed files with 16 additions and 0 deletions
9
tests/indent/python/break_continue.py
Normal file
9
tests/indent/python/break_continue.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
def f():
|
||||
for x in range(1, 2):
|
||||
if x == 1:
|
||||
break
|
||||
|
||||
def f():
|
||||
for x in range(1, 2):
|
||||
if x == 1:
|
||||
continue
|
||||
Loading…
Add table
Add a link
Reference in a new issue