Commit graph

19 commits

Author SHA1 Message Date
Christian Clason
2c8f2f2fad feat!: drop modules, general refactor and cleanup 2023-09-09 16:16:51 +02:00
Pham Huy Hoang
9161093fc7 fix(c_indents): fix expression leaking indents 2023-04-08 09:59:21 -07:00
Pham Huy Hoang
f669924df2 indents(c): update if cases 2023-01-14 04:52:21 -08:00
Pham Huy Hoang
2f5deed456 indents(c): Refactor indent queries 2023-01-14 04:52:21 -08:00
Stephan Seitz
9940e48675 tests: add test for #2086
While this does not test the described problem in insert mode
2022-02-06 19:42:57 +01:00
Stephan Seitz
a62971e0ef tests: Add test for C folding issue #1568
Also this issue has already been fixed
2022-02-05 19:29:14 +01:00
Stephan Seitz
b06961a519 fix(indents): re-parse before each indent 2022-02-05 18:54:55 +01:00
Stephan Seitz
fd5a551d7c indents(c): add zero_indent for #if 2022-02-05 18:54:55 +01:00
Stephan Seitz
616dc885fc indents(c): fix indentation on block comment 2022-02-05 18:54:55 +01:00
Stephan Seitz
3ff725e654 indents(c): fix ternary 2022-02-05 18:54:55 +01:00
Munif Tanjim
782e299cd6 fix(indent): c/cpp - support newline after closing brace 2022-01-21 16:40:36 +01:00
Munif Tanjim
c0110e34aa feat: rewrite indent module 2022-01-21 10:51:51 +01:00
Stephan Seitz
c7634f16de Mark failing indent tests to add them to CI
Expected failures should be monitored so that we don't have regressions
and also remove failure marks when they are resolved.
2021-11-24 17:29:55 +01:00
leo60228
1dea3928a2 add compound_lit.c test 2021-08-01 11:01:47 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
Jędrzej Boczar
af3537fbe5 tests/indent: factor out most of the code into common.lua 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
dbb1550aaf tests/indent: move common code out of main lua/ directory 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
db97170e4e tests/indent: move the run helper functions to top-level 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
63a88c873f move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
Renamed from lua/tests/indent/c_spec.lua (Browse further)