1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-09 13:23:51 +02:00

Add mariadb aliases

Fixes: https://github.com/alecthomas/chroma/issues/590
This commit is contained in:
silverwind 2022-01-15 17:58:39 +01:00 committed by Alec Thomas
parent 0b2b5eec0a
commit 4ba9a05fee

View File

@ -16,9 +16,9 @@ var (
var MySQL = internal.Register(MustNewLazyLexer(
&Config{
Name: "MySQL",
Aliases: []string{"mysql"},
Aliases: []string{"mysql", "mariadb"},
Filenames: []string{"*.sql"},
MimeTypes: []string{"text/x-mysql"},
MimeTypes: []string{"text/x-mysql", "text/x-mariadb"},
NotMultiline: true,
CaseInsensitive: true,
},