summaryrefslogtreecommitdiffstats
path: root/application/libraries/Pygments.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2024-04-14 14:10:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2024-04-14 14:20:00 +0200
commit7d8b8ee29ebc8f15b7eab5f8ca6cf2532f2bd61f (patch)
treeaf22c08ccd03dfc79fa1a4d0a2480bdfa9ab50aa /application/libraries/Pygments.php
parent194936c491250a107974f7d6f658365a21de874a (diff)
chore(pygments): Fix sort order in extension list
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Pygments.php')
-rw-r--r--application/libraries/Pygments.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/libraries/Pygments.php b/application/libraries/Pygments.php
index 4a771c08f..b4f465219 100644
--- a/application/libraries/Pygments.php
+++ b/application/libraries/Pygments.php
@@ -192,15 +192,15 @@ class Pygments {
$extensionarray = array(
'awk' => 'awk',
- 'cast' => 'asciinema',
'c' => 'c',
+ 'cast' => 'asciinema',
'coffee' => 'coffee-script',
'cpp' => 'cpp',
'cr' => 'crystal',
'diff' => 'diff',
'go' => 'go',
- 'haml' => 'haml',
'h' => 'c',
+ 'haml' => 'haml',
'hs' => 'haskell',
'html' => 'xml',
'java' => 'java',
@@ -208,9 +208,9 @@ class Pygments {
'json' => 'json',
'lhs' => 'lhs',
'lua' => 'lua',
+ 'ml' => 'ocaml',
'mli' => 'ocaml',
'mll' => 'ocaml',
- 'ml' => 'ocaml',
'mly' => 'ocaml',
'mysql' => 'mysql',
'patch' => 'diff',