Skip to content

Commit 71dad25

Browse files
authoredMar 27, 2024
Bug 1887740 - Add syntax highlighting for kotlin files in phabricator
1 parent 1cf16d8 commit 71dad25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/infrastructure/markup/syntax/highlighter/PhutilPygmentsSyntaxHighlighter.php

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ private function getPygmentsLexerNameFromLanguageName($language) {
133133
'jbst' => 'duel',
134134
'kid' => 'genshi',
135135
'ksh' => 'bash',
136+
'kt' => 'kotlin',
137+
'kts' => 'kotlin',
136138
'less' => 'css',
137139
'lgt' => 'logtalk',
138140
'lisp' => 'common-lisp',

0 commit comments

Comments
 (0)
Failed to load comments.