summaryrefslogtreecommitdiffstats
path: root/src/modules/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r--src/modules/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs
index 1d5eac0e5..b255a7f2a 100644
--- a/src/modules/mod.rs
+++ b/src/modules/mod.rs
@@ -57,6 +57,7 @@ mod username;
mod utils;
mod vagrant;
mod vcsh;
+mod vlang;
mod zig;
#[cfg(feature = "battery")]
@@ -130,6 +131,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> {
"time" => time::module(context),
"crystal" => crystal::module(context),
"username" => username::module(context),
+ "vlang" => vlang::module(context),
"vagrant" => vagrant::module(context),
"vcsh" => vcsh::module(context),
"zig" => zig::module(context),
@@ -210,6 +212,7 @@ pub fn description(module: &str) -> &'static str {
"terraform" => "The currently selected terraform workspace and version",
"time" => "The current local time",
"username" => "The active user's username",
+ "vlang" => "The currently installed version of V",
"vagrant" => "The currently installed version of Vagrant",
"vcsh" => "The currently active VCSH repository",
"zig" => "The currently installed version of Zig",