mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 07:17:54 +01:00
Fix Erlang and Elixir highlight mappings (#7044)
This commit is contained in:
parent
7d12ec2abd
commit
592924a34b
@ -37,8 +37,7 @@ var (
|
|||||||
".bat": {},
|
".bat": {},
|
||||||
".dart": {},
|
".dart": {},
|
||||||
".patch": {},
|
".patch": {},
|
||||||
".elixir": {},
|
".erl": {},
|
||||||
".erlang": {},
|
|
||||||
".go": {},
|
".go": {},
|
||||||
".html": {},
|
".html": {},
|
||||||
".xml": {},
|
".xml": {},
|
||||||
@ -65,6 +64,9 @@ var (
|
|||||||
// Extensions that are not same as highlight classes.
|
// Extensions that are not same as highlight classes.
|
||||||
highlightMapping = map[string]string{
|
highlightMapping = map[string]string{
|
||||||
".txt": "nohighlight",
|
".txt": "nohighlight",
|
||||||
|
".escript": "erlang",
|
||||||
|
".ex": "elixir",
|
||||||
|
".exs": "elixir",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user