aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent
Commit message (Collapse)AuthorAgeFilesLines
* indents(php): align with C indentationStephan Seitz2022-01-242-0/+32
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
* feat(indent): Implement basic indent for gdscript.Ryan Roden-Corrent2022-01-242-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Indent is not handled correctly when adding new lines. It seems that functions/loops/etc. are not recognized until they have at least one indented block. For example, if you enter a newline after `func foo():`, the cursor will not be indented. If you manually indent and add a line like `pass`, e.g.: ``` func foo(): pass ``` now any insertions above or below `pass` will be indented correctly. This might be an issue with the grammar, as it seems to apply to highlights as well. The following will not be highligted ``` func foo(): ``` However, the following will be: ``` func foo(): pass ```
* test(indent): rust - add test for indented commentMunif Tanjim2022-01-212-0/+7
|
* fix(indent): rust - support newline after closing braceMunif Tanjim2022-01-211-0/+9
|
* feat(indent): ecma - support common use-casesMunif Tanjim2022-01-217-5/+118
|
* fix(indent): c/cpp - support newline after closing braceMunif Tanjim2022-01-212-0/+4
|
* feat(indent): ecma - support try_catch and if_elseMunif Tanjim2022-01-213-0/+67
|
* feat(indent): support `@aligned_indent` for pythonMunif Tanjim2022-01-212-9/+9
|
* feat: rewrite indent moduleMunif Tanjim2022-01-216-54/+29
|
* feat: improve indent moduleMunif Tanjim2022-01-213-5/+5
| | | | get_node_at_line should return appropriate child if available
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-2/+1
| | | | | also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update
* fix: off-by-one errors in indent calculationoxalica2021-11-281-4/+0
|
* Mark failing indent tests to add them to CIStephan Seitz2021-11-246-36/+114
| | | | | Expected failures should be monitored so that we don't have regressions and also remove failure marks when they are resolved.
* add compound_lit.c testleo602282021-08-012-0/+11
|
* Use stylua for autoformat code (#1480)Santos Gallegos2021-07-046-172/+175
|
* tests/indent: factor out most of the code into common.luaJędrzej Boczar2021-04-236-208/+175
|
* tests/indent: move common code out of main lua/ directoryJędrzej Boczar2021-04-236-10/+135
|
* tests/indent: move the run helper functions to top-levelJędrzej Boczar2021-04-235-37/+38
|
* move all tests to top-level tests/ directoryJędrzej Boczar2021-04-2353-0/+885