Syntax file (lexer) created. It allows to highlight syntax, and to show funcs/classes/objects in tree panel (left panel).
Several types of ids hilited: usual, keywords, $varname, keyword modifiers, constants, types.
To install lexer in CudaText: Plugins/ Addon Manager/ Install,
type “Kotlin” and confirm install of lexer.
In SynWrite: the same, in Addon manager.
Image: