cmake_format icon indicating copy to clipboard operation
cmake_format copied to clipboard

first-comment-is-literal doesn't work when formatting multiple files

Open nimrod-gileadi opened this issue 3 years ago • 1 comments

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.

nimrod-gileadi avatar Nov 02 '21 11:11 nimrod-gileadi

Seems like --enable-markup=false doesn't work for multiple files, too. The first file is only affected.

wkjung avatar Jun 14 '22 00:06 wkjung