No more analysing of codeblocks without a language specification
MODIFY
ui/chatview.go
ui/chatview.go
@@ -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
}

No more analysing of codeblocks without a language specification