From 6705bdc69e1682982832ebea24e791581c44d0d2 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Mon, 3 Aug 2026 21:52:33 -0500 Subject: Allow comments to have tabs Currently, comments need to be left-aligned, even if they appear in an indented block. change the comment form to strip the same whitespace as the first line so that comments can be indented without embedding indents in the stdin. --- tests/fixtures/c/indented.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/fixtures/c/indented.c (limited to 'tests/fixtures/c/indented.c') diff --git a/tests/fixtures/c/indented.c b/tests/fixtures/c/indented.c new file mode 100644 index 0000000..0b7a9f6 --- /dev/null +++ b/tests/fixtures/c/indented.c @@ -0,0 +1,13 @@ +enum my_enum { + /* md + @name my_enum/one + My explanation of type_one + */ + type_one = 1; + /* md + @name my_enum/two + My explanation of type_two + relative indented line + */ + type_two = 2; +} -- cgit v1.2.3-70-g09d2