cmake_format
cmake_format copied to clipboard
first-comment-is-literal doesn't work when formatting multiple files
I'm using cmakelang 0.6.13.
When I call cmake-format on two files, with --first-comment-is-literal
(I haven't tried the first_comment_is_literal
config file option), the copyright notice in the first file remains untouched as expected, but on the second file it's formatted.
My workaround is to run the formatter separately on those two files.
Seems like --enable-markup=false
doesn't work for multiple files, too. The first file is only affected.