cmake_format icon indicating copy to clipboard operation
cmake_format copied to clipboard

[cmake-format] Issue with arguments that affect formatting

Open KindDragon opened this issue 2 years ago • 1 comments

If we call cmake-format like that:

cmake-format file1.cmake file2.cmake -i --line-width=120 --tab-size=4

line-width and tab-size will be only applied to file1.cmake. file2.cmake will be formatted with default config

BTW cmake-format file1.cmake file2.cmake -i -c=.cmake-config work without this issue

KindDragon avatar Feb 04 '22 22:02 KindDragon

It only happens when you pass several files to cmake-format

KindDragon avatar Mar 03 '22 09:03 KindDragon