aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/branches.py
diff options
context:
space:
mode:
authorMunif Tanjim <hello@muniftanjim.dev>2022-01-19 03:06:06 +0600
committerChristian Clason <christian.clason@uni-due.de>2022-01-21 10:51:51 +0100
commitbb60706433e593f976fb6cfee3b3a6910ce5bd2c (patch)
tree5762abd2e2b7c590817879dafda0527d1576628f /tests/indent/python/branches.py
parentrefactor(indent): extract functions and support metadata (diff)
downloadnvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar.gz
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar.bz2
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar.lz
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar.xz
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.tar.zst
nvim-treesitter-bb60706433e593f976fb6cfee3b3a6910ce5bd2c.zip
feat(indent): support `@aligned_indent` for python
Diffstat (limited to 'tests/indent/python/branches.py')
-rw-r--r--tests/indent/python/branches.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/indent/python/branches.py b/tests/indent/python/branches.py
index 7ce106bd7..474ec5b63 100644
--- a/tests/indent/python/branches.py
+++ b/tests/indent/python/branches.py
@@ -23,5 +23,9 @@ foo(
b)
if (a and
- b):
+ b):
+ pass
+
+if (a
+ and b):
pass