summaryrefslogtreecommitdiff
path: root/tests/indent
AgeCommit message (Collapse)Author
2022-02-06indents(lua): make ")" `@indent_endStephan Seitz
Fixes #2476
2022-02-06fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz
2022-02-06tests(indent): also test creating new line when still in insert modeStephan Seitz
2022-02-06tests: add test for #2086Stephan Seitz
While this does not test the described problem in insert mode
2022-02-05tests: Add test for C folding issue #1568Stephan Seitz
Also this issue has already been fixed
2022-02-05tests: add indent test for graphql (#2459)Stephan Seitz
Issue #1981
2022-02-05indents(lua): use `(comment) @auto`Stephan Seitz
2022-02-05Update lua/nvim-treesitter/indent.luaStephan Seitz
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05tests: only compare indents not contents in indent testsStephan Seitz
2022-02-05indents(r): fix all R testsStephan Seitz
2022-02-05indents(go): perform some changes as go fmt dictatesStephan Seitz
2022-02-05indents(go): add testsStephan Seitz
2022-02-05indents(php): add another testStephan Seitz
2022-02-05indents(python): remove branches.py from expected failuresStephan Seitz
The previous indentation actually causes a linter warning when using pep8
2022-02-05fix(indents): re-parse before each indentStephan Seitz
2022-02-05indents(c): add zero_indent for #ifStephan Seitz
2022-02-05indents(c): fix indentation on block commentStephan Seitz
2022-02-05indents: refactor hanging indentStephan Seitz
2022-02-05indents: allow aligned_indent for unfinished calls in C and PythonStephan Seitz
2022-02-05indents(cpp): indent at field_initializer_listStephan Seitz
2022-02-05indents(c): fix ternaryStephan Seitz
2022-02-04fix(indent): lua - support `@indent_end` (#2454)Munif Tanjim
2022-01-31chore: format with stylua 0.12.0 (#2421)Christian Clason
2022-01-29indents(r): add pipe testPedro Castro
2022-01-29indents(r): add tests runnerPedro Castro
2022-01-29indents(r): add aligned_indent testPedro Castro
2022-01-29indents(r): remove pipe testPedro Castro
2022-01-29indents(r): add testsPedro Castro
2022-01-24indents(php): align with C indentationStephan Seitz
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
2022-01-24feat(indent): Implement basic indent for gdscript.Ryan Roden-Corrent
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 ```
2022-01-21test(indent): rust - add test for indented commentMunif Tanjim
2022-01-21fix(indent): rust - support newline after closing braceMunif Tanjim
2022-01-21feat(indent): ecma - support common use-casesMunif Tanjim
2022-01-21fix(indent): c/cpp - support newline after closing braceMunif Tanjim
2022-01-21feat(indent): ecma - support try_catch and if_elseMunif Tanjim
2022-01-21feat(indent): support `@aligned_indent` for pythonMunif Tanjim
2022-01-21feat: rewrite indent moduleMunif Tanjim
2022-01-21feat: improve indent moduleMunif Tanjim
get_node_at_line should return appropriate child if available
2022-01-18feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason
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
2021-11-28fix: off-by-one errors in indent calculationoxalica
2021-11-24Mark failing indent tests to add them to CIStephan Seitz
Expected failures should be monitored so that we don't have regressions and also remove failure marks when they are resolved.
2021-08-01add compound_lit.c testleo60228
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-04-23tests/indent: factor out most of the code into common.luaJędrzej Boczar
2021-04-23tests/indent: move common code out of main lua/ directoryJędrzej Boczar
2021-04-23tests/indent: move the run helper functions to top-levelJędrzej Boczar
2021-04-23move all tests to top-level tests/ directoryJędrzej Boczar