summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cindent.vim
AgeCommit message (Collapse)Author
2023-03-24patch 9.0.1426: indent wrong after "export namespace" in C++v9.0.1426Virginia Senioria
Problem: Indent wrong after "export namespace" in C++. Solution: Skip over "inline" and "export" in any order. (Virginia Senioria, closes #12134, closes #12133)
2022-05-21patch 8.2.4994: tests are using legacy functionsv8.2.4994Bram Moolenaar
Problem: Tests are using legacy functions. Solution: Convert a few tests to use :def functions.
2022-05-16patch 8.2.4968: reading past end of the line when C-indentingv8.2.4968Bram Moolenaar
Problem: Reading past end of the line when C-indenting. Solution: Check for NUL.
2022-04-07patch 8.2.4702: C++ scope labels are hard-codedv8.2.4702Tom Praschan
Problem: C++ scope labels are hard-coded. Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan, closes #10109)
2021-12-22patch 8.2.3876: 'cindent' does not recognize inline namespacev8.2.3876zeertzjq
Problem: 'cindent' does not recognize inline namespace. Solution: Skip over "inline" to find "namespace". (closes #9383)
2021-12-12patch 8.2.3787: no proper formatting of a C line comment after a statementv8.2.3787Bram Moolenaar
Problem: No proper formatting of a C line comment after a statement. Solution: Find the start of the line comment, insert the comment leader and indent the comment properly.
2021-11-19patch 8.2.3625: illegal memory access when C-indentingv8.2.3625Bram Moolenaar
Problem: Illegal memory access when C-indenting. Solution: Also set the cursor column.
2021-10-05patch 8.2.3482: reading beyond end of line ending in quote and backslashv8.2.3482Bram Moolenaar
Problem: Reading beyond end of line ending in quote and backslash. Solution: Check for non-NUL after backslash. (closes #8964)
2020-08-12patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar
Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
2020-05-31patch 8.2.0864: pragmas are indented all the way to the leftv8.2.0864Bram Moolenaar
Problem: Pragmas are indented all the way to the left. Solution: Add an option to indent progmas like normal code. (Max Rumpf, closes #5468)
2020-03-08patch 8.2.0363: some Normal mode commands not testedv8.2.0363Bram Moolenaar
Problem: Some Normal mode commands not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2020-01-12patch 8.2.0112: illegal memory access when using 'cindent'v8.2.0112Bram Moolenaar
Problem: Illegal memory access when using 'cindent'. Solution: Check for NUL byte. (Dominique Pelle, closes #5470)
2019-09-01patch 8.1.1955: tests contain typosv8.1.1955Bram Moolenaar
Problem: Tests contain typos. Solution: Correct the typos. (Dominique Pelle)
2019-08-23patch 8.1.1915: more functions can be used as methodsv8.1.1915Bram Moolenaar
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
2019-06-24patch 8.1.1585: :let-heredoc does not trim enoughv8.1.1585Bram Moolenaar
Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests.
2019-05-31patch 8.1.1434: test 3 is old stylev8.1.1434Bram Moolenaar
Problem: Test 3 is old style. Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #4460)
2019-05-20patch 8.1.1362: code and data in tests can be hard to readv8.1.1362Bram Moolenaar
Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
2019-05-16patch 8.1.1336: some eval functionality is not covered by testsv8.1.1336Bram Moolenaar
Problem: Some eval functionality is not covered by tests. Solution: Add a few more test cases. (Masato Nishihata, closes #4374)
2017-09-02patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041Bram Moolenaar
Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt)
2017-08-26patch 8.0.0999: indenting raw C++ strings is wrongv8.0.0999Bram Moolenaar
Problem: Indenting raw C++ strings is wrong. Solution: Add special handling of raw strings. (Christian Brabandt)
2017-03-08patch 8.0.0431: 'cinoptions' cannot set indent for extern blockv8.0.0431Bram Moolenaar
Problem: 'cinoptions' cannot set indent for extern block. Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi)
2017-03-05patch 8.0.0423: changing 'cinoptions' does not always workv8.0.0423Bram Moolenaar
Problem: The effect of adding "#" to 'cinoptions' is not always removed. (David Briscoe) Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)