-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Kotlin custom filetype from github.com/esotericpig
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters