OCaml (deno)¶
This section is rendered asynchronously by default
Info
OCaml is an industrial strength programming language supporting functional, imperative and object-oriented styles
The ocaml section displays the OCaml version.
This section is displayed only when:
- Upsearch finds
_opamoresy.lockdirectories - Upsearch finds
duneordune-projectfiles - Upsearch finds
jbuildorjbuild-ignorefiles - Upsearch finds
.merlinfile - Current directory contains any files with
.opamextension - Current directory contains any files with
.ml,.mli,.reor.reiextension
Options¶
| Variable | Default | Meaning |
|---|---|---|
SPACESHIP_OCAML_SHOW |
true |
Show section |
SPACESHIP_OCAML_ASYNC |
true |
Render section asynchronously |
SPACESHIP_OCAML_PREFIX |
$SPACESHIP_PROMPT_DEFAULT_PREFIX |
Section's prefix |
SPACESHIP_OCAML_SUFFIX |
$SPACESHIP_PROMPT_DEFAULT_SUFFIX |
Section's suffix |
SPACESHIP_OCAML_SYMBOL |
🐫 |
Symbol displayed before the section |
SPACESHIP_OCAML_COLOR |
yellow |
Section's color |