diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2020-12-05 17:53:43 +0100 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2020-12-05 17:53:43 +0100 |
commit | 97457ade27566c8515f8f5ff7ca17c7723e0eb15 (patch) | |
tree | c8a445de360c8877e9c59696c618255570c2ffd0 | |
parent | 05762d94007dc7b3e329a66bfb886ec6737f3376 (diff) | |
download | pygments-git-97457ade27566c8515f8f5ff7ca17c7723e0eb15.tar.gz |
Update mapfiles and CHANGES.
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/_mapping.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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]')), |