Skip to content

Kotlin kotlin

This section is rendered asynchronously by default

Info

Kotlin is a modern, concise and safe programming language.

The kotlin section displays the version of the Kotlin compiler kotlinc -version.

This section is displayed only within Kotlin projects, meaning:

  • Contains any source file with *.kt extension
  • Contains any scripts file with *.kts extension

Options

Variable Default Meaning
SPACESHIP_KOTLIN_SHOW true Show section
SPACESHIP_KOTLIN_ASYNC true Render section asynchronously
SPACESHIP_KOTLIN_PREFIX $SPACESHIP_PROMPT_DEFAULT_PREFIX Section's prefix
SPACESHIP_KOTLIN_SUFFIX $SPACESHIP_PROMPT_DEFAULT_SUFFIX Section's suffix
SPACESHIP_KOTLIN_SYMBOL 🅺 Symbol displayed before the section
SPACESHIP_KOTLIN_COLOR magenta Section's color