aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/control_flow.py
diff options
context:
space:
mode:
authorGeorge Harker <george@george-graphics.co.uk>2023-03-14 12:25:38 -0700
committerStephan Seitz <stephan.seitz@fau.de>2023-03-15 22:44:59 +0100
commitfa0644667ea7ee7a72efdb69c471de4953a11019 (patch)
treef36f6f5a20ed8e3ffb5aa60578efaa32c7b8452c /tests/indent/python/control_flow.py
parentUpdate parsers: elixir, haskell, php, sql (diff)
downloadnvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar.gz
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar.bz2
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar.lz
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar.xz
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.tar.zst
nvim-treesitter-fa0644667ea7ee7a72efdb69c471de4953a11019.zip
fix: change folding algorithm to fix Python indents
Diffstat (limited to 'tests/indent/python/control_flow.py')
-rw-r--r--tests/indent/python/control_flow.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/indent/python/control_flow.py b/tests/indent/python/control_flow.py
index c8cd2541b..7ec02e3ff 100644
--- a/tests/indent/python/control_flow.py
+++ b/tests/indent/python/control_flow.py
@@ -20,3 +20,11 @@ except:
pass
finally:
pass
+
+while (a > 4 and
+ b > 5):
+ pass
+
+try:
+ pass
+