Pygmentize does not properly guess type of CMake build files

Issue #705 resolved
Charlie Sharpsteen
created an issue

Top-level CMake build files are required to have CMakeLists.txt as their filename. However, pygmentize incorrectly assumes these are plain text files:

{{{
grendel:TeXworks sharpie$ pygmentize -N CMakeLists.txt
text
}}}

Expected output should match the guess given for CMake modules:

{{{
grendel:TeXworks sharpie$ pygmentize -N CMake/Modules/FindHunspell.cmake
cmake
}}}

Comments (1)

  1. Log in to comment