Open KindDragon opened 2 years ago
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
cmake-format file1.cmake file2.cmake -i -c=.cmake-config
It only happens when you pass several files to cmake-format
If we call cmake-format like that:
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