Sublime Forum

CMake syntax highlighting

#1

Hello!

It would be very helpful to have in ST2 support for syntax highlighting for CMake build system file (CMakeLists.txt).

0 Likes

#2

I just used the textmate .tmLanguage file for this. Works perfectly for me. You can download the bundle from here: github.com/textmate/cmake.tmbundle and in the bundle’s syntax folder get the file CMake Listfile.tmLanguage. Just put that in your ST2 Plugins/User folder.

0 Likes