diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-01-03 11:04:40 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-10 14:59:18 +0100 |
commit | 6f892630ae4726297944fe34b3de4fb608caf66d (patch) | |
tree | 208d634c0fba6d4fb9b3fba06863998048e8c084 /tests/pack.scm | |
parent | 208a7aa17b101083bd9969fec9ca4e2dca37b3af (diff) | |
download | guix-6f892630ae4726297944fe34b3de4fb608caf66d.tar.gz guix-6f892630ae4726297944fe34b3de4fb608caf66d.zip |
style: Add support for "newline forms".
This allows us to express cases where a newline should be inserted
immediately after the head symbol of a list.
* guix/scripts/style.scm (%newline-forms): New variable.
(newline-form?): New procedure.
(pretty-print-with-comments): Handle "newline forms".
* tests/style.scm: Add test.
Diffstat (limited to 'tests/pack.scm')
0 files changed, 0 insertions, 0 deletions