summaryrefslogtreecommitdiffstats
path: root/docs/config/README.md
diff options
context:
space:
mode:
authorfold-squirrel <90027154+fold-squirrel@users.noreply.github.com>2022-12-21 18:53:53 +0200
committerGitHub <noreply@github.com>2022-12-21 10:53:53 -0600
commite93dbf86301e19a89bd64997d95ba63a64f473aa (patch)
treef04d905d0a2171a770a81849e6a7697eda80131f /docs/config/README.md
parentc79e1d2be240a85494eb85b3edaf04ca662bcd33 (diff)
feat(fennel): add fennel module (#4717)
Diffstat (limited to 'docs/config/README.md')
-rw-r--r--docs/config/README.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 5cd20bad1..904504b24 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -283,6 +283,7 @@ $dotnet\
$elixir\
$elm\
$erlang\
+$fennel\
$golang\
$guix_shell\
$haskell\
@@ -1475,6 +1476,45 @@ By default the module will be shown if any of the following conditions are met:
format = 'via [e $version](bold red) '
```
+## Fennel
+
+The `fennel` module shows the currently installed version of [Fennel](https://fennel-lang.org).
+By default the module will be shown if any of the following conditions are met:
+
+- The current directory contains a file with the `.fnl` extension
+
+### Options
+
+| Option | Default | Description |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
+| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `'🧅 '` | The symbol used before displaying the version of fennel. |
+| `style` | `'bold green'` | The style for the module. |
+| `detect_extensions` | `[fnl]` | Which extensions should trigger this module. |
+| `detect_files` | `[]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `disabled` | `false` | Disables the `fennel` module. |
+
+### Variables
+
+| Variable | Example | Description |
+| -------- | -------- | ------------------------------------ |
+| version | `v1.2.1` | The version of `fennel` |
+| symbol | | Mirrors the value of option `symbol` |
+| style\* | | Mirrors the value of option `style` |
+
+*: This variable can only be used as a part of a style string
+
+### Example
+
+```toml
+# ~/.config/starship.toml
+
+[fennel]
+symbol = 'â«° '
+```
+
## Fill
The `fill` module fills any extra space on the line with a symbol. If multiple `fill` modules are