summaryrefslogtreecommitdiffstats
path: root/docs/config/README.md
diff options
context:
space:
mode:
authorDario Vladović <d.vladimyr@gmail.com>2021-05-07 16:22:18 +0200
committerGitHub <noreply@github.com>2021-05-07 10:22:18 -0400
commitc4f977c48d29790f27d332c32d97eff40fd258f1 (patch)
treec9104c2a0411b2cd30acad0799e98878c54cd7dc /docs/config/README.md
parent23cc78237c5775c31fc3acd0f17a3840ad91a997 (diff)
feat(vlang): support `vpkg` (#2686)
Diffstat (limited to 'docs/config/README.md')
-rw-r--r--docs/config/README.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 86e206160..cec7bcbda 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -2846,19 +2846,19 @@ format = "via [⍱ $version](bold white) "
The `vlang` module shows you your currently installed version of V.
By default the module will be shown if any of the following conditions are met:
- The current directory contains a file with `.v` extension
-- The current directory contains a `v.mod` file
+- The current directory contains a `v.mod`, `vpkg.json` or `.vpkg-lock.json` file
### Options
-| Option | Default | Description |
-| ------------------- | ------------------------------------------------- | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
-| `symbol` | `"V "` | A format string representing the symbol of V |
-| `detect_extensions` | `["v"]` | Which extensions should trigger this module. |
-| `detect_files` | `["v.mod"]` | Which filenames should trigger this module. |
-| `detect_folders` | `[]` | Which folders should trigger this module. |
-| `style` | `"blue bold"` | The style for the module. |
-| `disabled` | `false` | Disables the `vlang` module. |
+| Option | Default | Description |
+| ------------------- | -------------------------------------------- | -------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `symbol` | `"V "` | A format string representing the symbol of V |
+| `detect_extensions` | `["v"]` | Which extensions should trigger this module. |
+| `detect_files` | `["v.mod", "vpkg.json", ".vpkg-lock.json" ]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"blue bold"` | The style for the module. |
+| `disabled` | `false` | Disables the `vlang` module. |
### Variables