File tree Expand file tree Collapse file tree 1 file changed +37
-35
lines changed Expand file tree Collapse file tree 1 file changed +37
-35
lines changed Original file line number Diff line number Diff line change @@ -26,45 +26,47 @@ var (
26
26
27
27
// Extensions that are same as highlight classes.
28
28
highlightExts = map [string ]struct {}{
29
- ".arm" : {},
30
- ".as" : {},
31
- ".sh" : {},
32
- ".cs" : {},
33
- ".cpp" : {},
34
- ".c" : {},
35
- ".css" : {},
36
- ".cmake" : {},
37
- ".bat" : {},
38
- ".dart" : {},
39
- ".patch" : {},
40
- ".elixir" : {},
41
- ".erlang" : {},
42
- ".go" : {},
43
- ".html" : {},
44
- ".xml" : {},
45
- ".hs" : {},
46
- ".ini" : {},
47
- ".json" : {},
48
- ".java" : {},
49
- ".js" : {},
50
- ".less" : {},
51
- ".lua" : {},
52
- ".php" : {},
53
- ".py" : {},
54
- ".rb" : {},
55
- ".scss" : {},
56
- ".sql" : {},
57
- ".scala" : {},
58
- ".swift" : {},
59
- ".ts" : {},
60
- ".vb" : {},
61
- ".yml" : {},
62
- ".yaml" : {},
29
+ ".arm" : {},
30
+ ".as" : {},
31
+ ".sh" : {},
32
+ ".cs" : {},
33
+ ".cpp" : {},
34
+ ".c" : {},
35
+ ".css" : {},
36
+ ".cmake" : {},
37
+ ".bat" : {},
38
+ ".dart" : {},
39
+ ".patch" : {},
40
+ ".erl" : {},
41
+ ".go" : {},
42
+ ".html" : {},
43
+ ".xml" : {},
44
+ ".hs" : {},
45
+ ".ini" : {},
46
+ ".json" : {},
47
+ ".java" : {},
48
+ ".js" : {},
49
+ ".less" : {},
50
+ ".lua" : {},
51
+ ".php" : {},
52
+ ".py" : {},
53
+ ".rb" : {},
54
+ ".scss" : {},
55
+ ".sql" : {},
56
+ ".scala" : {},
57
+ ".swift" : {},
58
+ ".ts" : {},
59
+ ".vb" : {},
60
+ ".yml" : {},
61
+ ".yaml" : {},
63
62
}
64
63
65
64
// Extensions that are not same as highlight classes.
66
65
highlightMapping = map [string ]string {
67
- ".txt" : "nohighlight" ,
66
+ ".txt" : "nohighlight" ,
67
+ ".escript" : "erlang" ,
68
+ ".ex" : "elixir" ,
69
+ ".exs" : "elixir" ,
68
70
}
69
71
)
70
72
You can’t perform that action at this time.
0 commit comments