Buffer.getHighlightSyntax

bool getHighlightSyntax() nothrow

Determines whether syntax highlighting is activated in the source buffer.

Returns

true if syntax highlighting is enabled, false otherwise.