Issue #866 resolved

CMake highlighting not works for KDE related keywords

created an issue

KDE has some special CMake commands like kde4_add_executable and these not recognized by pygments in Sphinx.

I don't know if this is the right solution but when I changed following line:

(r'\b([A-Za-z_]+)([ \t]*)(\()', bygroups(Name.Builtin, Text,

with this one:

(r'\b([A-Za-z0-9_]+)([ \t]*)(\()', bygroups(Name.Builtin, Text,

everything started to work properly

Some related links:

Comments (1)

  1. Log in to comment