Buffer.getLanguage

gtksource.language.Language getLanguage() nothrow

Returns the gtksource.language.Language associated with the buffer, see gtksource.buffer.Buffer.setLanguage.

The returned object should not be unreferenced by the user.

Returns

the gtksource.language.Language associated

with the buffer, or null.