aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent
Commit message (Collapse)AuthorAgeFilesLines
* fix(rust): remove if_let from indent captureskiyan2022-07-082-0/+10
| | | | fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3073
* fix(go): indent const declarationkiyan2022-07-082-4/+10
| | | | https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
* fix(ecma): indent end for bracket (#3121)Kiyan2022-07-072-0/+4
|
* test(indents/yaml): add testsPhelipe Teles2022-06-143-0/+24
|
* test(tiger): import upstream testsBruno BELANYI2022-06-146-0/+228
|
* Don't expect any change on reindenting the whole unfinished-call.phpprzepompownia2022-05-151-3/+1
|
* unfinished-call.php: expect 0-column indentationprzepompownia2022-05-151-1/+1
|
* Remove unused XFAILprzepompownia2022-05-151-1/+0
|
* Change test expectationprzepompownia2022-05-151-1/+1
|
* indent(hcl): fix function callsMichael Hoffmann2022-04-252-0/+8
|
* indents(hcl): fix indentation queriesMichael Hoffmann2022-04-248-0/+71
| | | | This commit adds tests for hcl indentation and fixes various bugs
* test(go): add cases for newlines de-indentationAkin Sowemimo2022-04-182-0/+12
| | | | | | | | | | | | | test(go): combine new indent test cases test(go): add incorrect indent after var closing ) this case does not work correctly already so add that in since this PR does not address that case test(go): set current lines in indent test test(go): simplify test case
* fix(indent/lua): wrong for nested tables due to branch on opening pairsJędrzej Boczar2022-04-062-0/+8
|
* indents(ecma): use auto indent on (ERROR)Stephan Seitz2022-04-042-0/+20
| | | | Fixes #2515
* Changed quotes to appease styluaDaniel Woznicki2022-04-041-1/+1
|
* Fixed incorrect Java indentation for method chainingDaniel Woznicki2022-04-042-0/+7
|
* chore: update formatting for stylua updateStephan Seitz2022-04-021-84/+66
|
* r(indents): fix brace_list alignmentPedro Castro2022-03-292-0/+7
|
* Combined closing.css and block.css test files into single open_block.cssDaniel Woznicki2022-03-193-3/+2
|
* Added fix for incorrect CSS indent after closing bracketDaniel Woznicki2022-03-194-0/+33
| | | | Added a failing test for possible broken CSS syntax tree
* Added test for known indent failure when tree is in broken stateDaniel Woznicki2022-03-011-2/+7
|
* Made block comment indent @auto so that new lines line up nicely with ↵Daniel Woznicki2022-03-012-2/+2
| | | | | | | | | | | | | | existing comment block Previous indentation: /** * */ New indentation: /** * */
* Added test case for broken trees, plus partial test coverageDaniel Woznicki2022-03-012-0/+8
|
* Modified Java indent rules to stop ignoring block comments because javadoc ↵Daniel Woznicki2022-03-012-0/+6
| | | | blocks were defaulting to indent 0
* Added fix for Java interfaces not being indented properlyDaniel Woznicki2022-03-012-0/+3
|
* fix(indent): ecma - parenthesized expression indentationMunif Tanjim2022-02-262-0/+20
|
* fix(indent): ecma - class method indentationMunif Tanjim2022-02-262-0/+34
|
* Fixed a bug where indentation was not correct for class/enum bodies that had ↵Daniel Woznicki2022-02-253-0/+8
| | | | an annotation
* Fixed a bug where Java enum body indentation was not correctDaniel Woznicki2022-02-252-0/+5
| | | | Added test for Java enum indentation
* Removed newline causing sylua lint check to failDaniel Woznicki2022-02-251-1/+0
|
* Added fix for incorrect Java indentation after a closing "}" in a method ↵Daniel Woznicki2022-02-253-0/+31
| | | | | | declaration Added tests for Java indentation, including one for issue 2571
* Gleam indentation testsConnor Lay (Clay)2022-02-1514-0/+226
|
* tests: add failing test for incomplete argumentsStephan Seitz2022-02-132-1/+11
|
* indents(php): don't use aligned_indent for phpStephan Seitz2022-02-132-0/+15
| | | | Fixes #2497
* test(indent): fix typosMunif Tanjim2022-02-062-2/+2
|
* indents(lua): make ")" `@indent_endStephan Seitz2022-02-062-0/+8
| | | | Fixes #2476
* fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz2022-02-061-3/+13
|
* tests(indent): also test creating new line when still in insert modeStephan Seitz2022-02-061-0/+11
|
* tests: add test for #2086Stephan Seitz2022-02-062-0/+4
| | | | While this does not test the described problem in insert mode
* tests: Add test for C folding issue #1568Stephan Seitz2022-02-052-0/+7
| | | | Also this issue has already been fixed
* tests: add indent test for graphql (#2459)Stephan Seitz2022-02-052-0/+25
| | | Issue #1981
* indents(lua): use `(comment) @auto`Stephan Seitz2022-02-052-9/+1
|
* Update lua/nvim-treesitter/indent.luaStephan Seitz2022-02-051-2/+1
| | | | Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
* tests: only compare indents not contents in indent testsStephan Seitz2022-02-052-2/+2
|
* indents(r): fix all R testsStephan Seitz2022-02-051-3/+2
|
* indents(go): perform some changes as go fmt dictatesStephan Seitz2022-02-051-0/+5
|
* indents(go): add testsStephan Seitz2022-02-052-0/+35
|
* indents(php): add another testStephan Seitz2022-02-052-0/+10
|
* indents(python): remove branches.py from expected failuresStephan Seitz2022-02-052-7/+5
| | | | | The previous indentation actually causes a linter warning when using pep8
* fix(indents): re-parse before each indentStephan Seitz2022-02-055-7/+14
|