nvim-treesitter/tests/indent/python
Grace Petryk f16a775830
feat(python): Improved python indentation (#6859)
* feat: improve python indentation

* use lua-match

* revert concatenated_string changes, handle function def hanging indents

* lint

* add delimiters to param query

* add test cases
2024-07-16 20:13:41 +09:00
..
aligned_indent.py feat(python): Improved python indentation (#6859) 2024-07-16 20:13:41 +09:00
aligned_indent_2.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
basic_blocks.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
basic_collections.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
branches.py indents(python): remove branches.py from expected failures 2022-02-05 18:54:55 +01:00
break_continue.py feat(python): add break/continue dedent 2023-03-25 00:31:57 -04:00
comprehensions.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
control_flow.py fix(python): better try-except indentation (#6097) 2024-02-15 00:39:59 +07:00
error_state_def.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_dict.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_funcall.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_list.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_set.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_tuple.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
error_state_tuple_align.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
hanging_indent.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
if_else.py Add Python else elif dedent (#4618) 2023-04-29 10:35:35 +02:00
join_lines.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
line_after_indent.py fix(python): add missing @indent_end 2023-03-16 03:46:01 -04:00
match_case.py feat(python): add match-case indents 2023-03-25 00:31:57 -04:00
nested_collections.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
parenthesized_conditions.py feat(python): Improved python indentation (#6859) 2024-07-16 20:13:41 +09:00
return_dedent.py refactor(indent)!: Rework indent, aligned indent 2023-03-24 13:07:53 -04:00
strings.py move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00