No more analysing of codeblocks without a language specification
@@ -519,9 +519,6 @@ func (chatView *ChatView) formatDefaultMessageText(message *discordgo.Message) s
// Determine lexer.
l := lexers.Get(language)
- if l == nil {
- l = lexers.Analyse(code)
- }
if l == nil {
l = lexers.Fallback
}
