[geany/geany] 618510: Add Kotlin custom filetype from github.com/esotericpig

Nick Treleaven git-noreply at xxxxx
Mon Jul 22 11:48:03 UTC 2019


Branch:      refs/heads/master
Author:      Nick Treleaven <n at trelsoft.com>
Committer:   Nick Treleaven <n at trelsoft.com>
Date:        Mon, 22 Jul 2019 11:48:03 UTC
Commit:      618510cdc96159d0cb92e929f95930df47cb2b14
             https://github.com/geany/geany/commit/618510cdc96159d0cb92e929f95930df47cb2b14

Log Message:
-----------
Add Kotlin custom filetype from github.com/esotericpig


Modified Paths:
--------------
    data/Makefile.am
    data/filedefs/filetypes.Kotlin.conf
    data/filetype_extensions.conf

Modified: data/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -46,6 +46,7 @@ filetypes = \
 	filedefs/filetypes.latex \
 	filedefs/filetypes.lisp \
 	filedefs/filetypes.lua \
+	filedefs/filetypes.Kotlin.conf \
 	filedefs/filetypes.makefile \
 	filedefs/filetypes.markdown \
 	filedefs/filetypes.matlab \


Modified: data/filedefs/filetypes.Kotlin.conf
31 lines changed, 31 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,31 @@
+[styling=C]
+
+[keywords]
+# https://kotlinlang.org/docs/reference/keyword-reference.html
+primary=abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while true false null as fun in object typealias val var when by constructor delegate dynamic field file get init param property receiver set setparam where actual annotation companion const crossinline data expect external infix inline inner internal lateinit noinline open operator out reified sealed suspend tailrec vararg field it
+# https://kotlinlang.org/docs/reference/basic-types.html
+secondary=Double Float Long Int Short Byte NaN Void
+# documentation keywords for javadoc
+doccomment=author deprecated exception param return see serial serialData serialField since throws todo version
+typedefs=
+
+[lexer_properties=C]
+
+[settings]
+lexer_filetype=C
+tag_parser=C
+extension=kt
+mime_type=text/x-kotlin
+
+[build-menu]
+FT_00_LB=_Compile Kotlin Class
+FT_00_CM=kotlinc "%f"
+FT_00_WD=
+
+EX_00_LB=_Execute Kotlin Class
+EX_00_CM=kotlin "%eKt"
+EX_00_WD=
+
+EX_01_LB=Execute Kotlin _Script
+EX_01_CM=kotlinc -script "%f"
+EX_01_WD=


Modified: data/filetype_extensions.conf
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -41,6 +41,7 @@ HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;*.tpl;
 Java=*.java;*.jsp;
 Javascript=*.js;
 JSON=*.json;
+Kotlin=*.kt;*.kts;
 LaTeX=*.tex;*.sty;*.idx;*.ltx;*.latex;*.aux;*.bib;
 Lisp=*.lisp;
 Lua=*.lua;
@@ -76,7 +77,7 @@ None=*;
 
 # Note: restarting is required after editing groups
 [Groups]
-Programming=Arduino;Clojure;CUDA;Cython;Genie;Scala;Swift;
+Programming=Arduino;Clojure;CUDA;Cython;Genie;Kotlin;Scala;Swift;
 Script=Graphviz;
 Markup=
 Misc=JSON;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list