Skip to content

Commit

Permalink
provide styling for Kotlin
Browse files Browse the repository at this point in the history
closes #350
  • Loading branch information
stefankueng committed Oct 14, 2023
1 parent 7a3afda commit 2827dac
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/res/Properties.ini
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ EMBEDLANGBACK5=FCF5FE;1
C/C++=c;cc;cpp;cxx;h;hh;hpp;hxx;ipp;m;mm;sma;ispc;isph;hlsl;glsl;frag;vert
Java=java;jad;pde
Java-fx=fx
Kotlin=kt;kts
Sliktest=pln;inc;t
JavaScript=js;es;zx
BowPadPlugin=bpj
Expand Down Expand Up @@ -1377,6 +1378,16 @@ CommentStreamStart=/*
CommentStreamEnd=*/
AutoCompleteRegex=\b([A-Za-z]\w{4,})\b\s*[=\(\)&|;\-\[]

[lang_Kotlin]
Keywords1=as break class continue do else false for fun if in interface is null object package return super this throw true try typealias val var when while
Keywords2=by catch constructor delegate dynamic field file finally get import init param property receiver set setparam where
Keywords3=abstract actual annotation companion const crossinline data enum expect external final infix inline inner internal lateinit noinline open operator out override private protected public reified sealed suspend tailrec vararg field it
CommentLine=//
CommentLineAtStart=0
CommentStreamStart=/*
CommentStreamEnd=*/
AutoCompleteRegex=\b([A-Za-z]\w{4,})\b\s*[=\(\)&|;\-\[]

[lang_Ch]
Keywords1=auto array bool break case char class complex complexinf complexnan const continue default delete do double else enum export extern float for foreach goto if inf inline int long namespace nan new null private public register restrict return short signed sizeof static string_t struct switch this typedef union unsigned using void volatile wchar_t while __declspec
Keywords3=a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace nosubgrouping note overload p page par param param[in] param[out] post pre ref relates remarks return retval sa section see showinitializer since skip skipline struct subsection test throw throws todo typedef union until var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
Expand Down Expand Up @@ -1496,7 +1507,7 @@ BowPadPlugin=hidden

[lexers]
#lexername=language name list
SCLEX_CPP=C/C++;Java;Java-fx;Sliktest;JavaScript;C Sharp;Resource File;IDL;Flash;Qml;Ch;Vala;Go;Pike;BowPadPlugin
SCLEX_CPP=C/C++;Java;Java-fx;Kotlin;Sliktest;JavaScript;C Sharp;Resource File;IDL;Flash;Qml;Ch;Vala;Go;Pike;BowPadPlugin
SCLEX_HTML=Html;PHP
#SCLEX_PHPSCRIPT=PHP
SCLEX_XML=Vxml;Xml;DocBook;Mako;Wix;Xaml;Nant
Expand Down

0 comments on commit 2827dac

Please sign in to comment.