cgag / loc

Count lines of code quickly.
MIT License
2.29k stars 126 forks source link

CMake files not handled as expected #108

Open dmey opened 5 years ago

dmey commented 5 years ago

Describe the bug loc ignores files with cmake extension, furthermore CMakeLists.txt files are reported as Plain Text files instead of CMake files.

Expected behavior

  1. loc should report the number of lines for CMake files with extension cmake under the CMake category
  2. loc should report the number of lines for CMake files with name CMakeLists.txt under the CMake category

Operating System Information

loc version used

Additional context I have seen that there was a PR merged some time ago about this (#52) but not sure if it was tested.