summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-12-05 17:53:43 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2020-12-05 17:53:43 +0100
commit97457ade27566c8515f8f5ff7ca17c7723e0eb15 (patch)
treec8a445de360c8877e9c59696c618255570c2ffd0
parent05762d94007dc7b3e329a66bfb886ec6737f3376 (diff)
downloadpygments-git-97457ade27566c8515f8f5ff7ca17c7723e0eb15.tar.gz
Update mapfiles and CHANGES.
-rw-r--r--CHANGES1
-rw-r--r--pygments/lexers/_mapping.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index df67bb91..e9fbe60e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -26,6 +26,7 @@ Version 2.7.3
- The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text (#1213, PR#1611)
- Documentation fixes (PR#1609, #1599, #1598)
- Fix duplicated Juttle language alias (#1604, PR#1606)
+- Add support for Kotlin scripts (PR#1587)
Version 2.7.2
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 5d709ccd..8360ec4e 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -239,7 +239,7 @@ LEXERS = {
'KconfigLexer': ('pygments.lexers.configs', 'Kconfig', ('kconfig', 'menuconfig', 'linux-config', 'kernel-config'), ('Kconfig*', '*Config.in*', 'external.in*', 'standard-modules.in'), ('text/x-kconfig',)),
'KernelLogLexer': ('pygments.lexers.textfmts', 'Kernel log', ('kmsg', 'dmesg'), ('*.kmsg', '*.dmesg'), ()),
'KokaLexer': ('pygments.lexers.haskell', 'Koka', ('koka',), ('*.kk', '*.kki'), ('text/x-koka',)),
- 'KotlinLexer': ('pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt',), ('text/x-kotlin',)),
+ 'KotlinLexer': ('pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt', '*.kts'), ('text/x-kotlin',)),
'LSLLexer': ('pygments.lexers.scripting', 'LSL', ('lsl',), ('*.lsl',), ('text/x-lsl',)),
'LassoCssLexer': ('pygments.lexers.templates', 'CSS+Lasso', ('css+lasso',), (), ('text/css+lasso',)),
'LassoHtmlLexer': ('pygments.lexers.templates', 'HTML+Lasso', ('html+lasso',), (), ('text/html+lasso', 'application/x-httpd-lasso', 'application/x-httpd-lasso[89]')),