mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-29 21:56:56 +02:00
Add .editorconfig to ini lexer
`.editorconfig` files [are ini](https://editorconfig.org/#file-format-details). Also tested on the playground and looks well.
This commit is contained in:
parent
391f301b71
commit
5756434ec2
@ -10,7 +10,7 @@ var Ini = internal.Register(MustNewLexer(
|
|||||||
&Config{
|
&Config{
|
||||||
Name: "INI",
|
Name: "INI",
|
||||||
Aliases: []string{"ini", "cfg", "dosini"},
|
Aliases: []string{"ini", "cfg", "dosini"},
|
||||||
Filenames: []string{"*.ini", "*.cfg", "*.inf", ".gitconfig"},
|
Filenames: []string{"*.ini", "*.cfg", "*.inf", ".gitconfig", ".editorconfig"},
|
||||||
MimeTypes: []string{"text/x-ini", "text/inf"},
|
MimeTypes: []string{"text/x-ini", "text/inf"},
|
||||||
},
|
},
|
||||||
Rules{
|
Rules{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user