Buffer.getLanguage

Returns the #GtkSourceLanguage associated with the buffer, see [gtksource.buffer.Buffer.setLanguage]. The returned object should not be unreferenced by the user.

Returns

the #GtkSourceLanguage associated

with the buffer, or null.