diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2023-03-25 09:51:41 +0900 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2023-03-25 00:31:57 -0400 |
| commit | c9ef5e58f7d59aba875324825ff47900d0be61f2 (patch) | |
| tree | 5f13a56d1140931866003b9ba18957a912d6977b /tests/indent/python | |
| parent | feat(python): add match-case indents (diff) | |
| download | nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar.gz nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar.bz2 nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar.lz nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar.xz nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.tar.zst nvim-treesitter-c9ef5e58f7d59aba875324825ff47900d0be61f2.zip | |
feat(python): add break/continue dedent
Diffstat (limited to 'tests/indent/python')
| -rw-r--r-- | tests/indent/python/break_continue.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/indent/python/break_continue.py b/tests/indent/python/break_continue.py new file mode 100644 index 000000000..aabd677f8 --- /dev/null +++ b/tests/indent/python/break_continue.py @@ -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 |
