Skip to content

Commit

Permalink
Add mariadb aliases
Browse files Browse the repository at this point in the history
Fixes: #590
  • Loading branch information
silverwind authored and alecthomas committed Jan 15, 2022
1 parent 0b2b5ee commit 4ba9a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lexers/m/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 4ba9a05

Please sign in to comment.