From 354eb3e106bec035d471542682bee59287b7cb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Hutter?= Date: Tue, 15 Mar 2022 17:19:30 +0100 Subject: [PATCH] Better readability --- style/langdef-kotlin.tex | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/style/langdef-kotlin.tex b/style/langdef-kotlin.tex index 60f0c57..b6be0eb 100644 --- a/style/langdef-kotlin.tex +++ b/style/langdef-kotlin.tex @@ -6,12 +6,22 @@ emph={filter, first, firstOrNull, forEach, lazy, map, mapNotNull, println}, emphstyle={\color{OrangeRed}}, identifierstyle=\color{black}, - keywords={!in, !is, abstract, actual, annotation, as, as?, break, by, catch, class, companion, const, constructor, continue, crossinline, data, delegate, do, dynamic, else, enum, expect, external, false, field, file, final, finally, for, fun, get, if, import, in, infix, init, inline, inner, interface, internal, is, lateinit, noinline, null, object, open, operator, out, override, package, param, private, property, protected, public, receiveris, reified, return, return@, sealed, set, setparam, super, suspend, tailrec, this, throw, true, try, typealias, typeof, val, var, vararg, when, where, while}, + keywords={!in, !is, abstract, actual, annotation, as, as?, break, by, + catch, class, companion, const, constructor, continue, crossinline, + data, delegate, do, dynamic, else, enum, expect, external, false, + field, file, final, finally, for, fun, get, if, import, in, infix, + init, inline, inner, interface, internal, is, lateinit, noinline, + null, object, open, operator, out, override, package, param, private, + property, protected, public, receiveris, reified, return, return@, + sealed, set, setparam, super, suspend, tailrec, this, throw, true, + try, typealias, typeof, val, var, vararg, when, where, while}, keywordstyle={\color{NavyBlue}\bfseries}, morecomment=[s]{/*}{*/}, morestring=[b]", morestring=[s]{"""*}{*"""}, - ndkeywords={@Deprecated, @JvmField, @JvmName, @JvmOverloads, @JvmStatic, @JvmSynthetic, Array, Byte, Double, Float, Int, Integer, Iterable, Long, Runnable, Short, String, Any, Unit, Nothing}, + ndkeywords={@Deprecated, @JvmField, @JvmName, @JvmOverloads, @JvmStatic, + @JvmSynthetic, Array, Byte, Double, Float, Int, Integer, Iterable, + Long, Runnable, Short, String, Any, Unit, Nothing}, ndkeywordstyle={\color{BurntOrange}\bfseries}, sensitive=true, stringstyle={\color{ForestGreen}\ttfamily},