diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-02-14 09:39:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-15 00:39:59 +0700 |
| commit | d96bf9d522369eaf4ad57e607f134e51084ee1ad (patch) | |
| tree | dc3ef391ac26a9dbc2ca6bba60c8a391d65a6af2 /tests/indent/python/control_flow.py | |
| parent | feat: add the hlsplaylist parser (diff) | |
| download | nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar.gz nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar.bz2 nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar.lz nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar.xz nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.tar.zst nvim-treesitter-d96bf9d522369eaf4ad57e607f134e51084ee1ad.zip | |
fix(python): better try-except indentation (#6097)
Diffstat (limited to 'tests/indent/python/control_flow.py')
| -rw-r--r-- | tests/indent/python/control_flow.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/indent/python/control_flow.py b/tests/indent/python/control_flow.py index fca528a2d..387756f63 100644 --- a/tests/indent/python/control_flow.py +++ b/tests/indent/python/control_flow.py @@ -26,3 +26,10 @@ while (a > 4 and pass try: + +def foo(): + print('indentme') + + # comment + if True: + pass |
