Skip to content

Commit 4ba9a05

Browse files
silverwindalecthomas
authored andcommitted
Add mariadb aliases
Fixes: #590
1 parent 0b2b5ee commit 4ba9a05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lexers/m/mysql.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ var (
1616
var MySQL = internal.Register(MustNewLazyLexer(
1717
&Config{
1818
Name: "MySQL",
19-
Aliases: []string{"mysql"},
19+
Aliases: []string{"mysql", "mariadb"},
2020
Filenames: []string{"*.sql"},
21-
MimeTypes: []string{"text/x-mysql"},
21+
MimeTypes: []string{"text/x-mysql", "text/x-mariadb"},
2222
NotMultiline: true,
2323
CaseInsensitive: true,
2424
},

0 commit comments

Comments
 (0)