diff options
author | [Error_27] <error27dev@gmail.com> | 2024-04-05 17:56:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 23:56:49 +0200 |
commit | 335c514e9ee5fa5bc8a8294b4804ddf198504b97 (patch) | |
tree | 0b1cbf1398416142864a110f92a30483aeaf0338 /src/modules/mod.rs | |
parent | 34a8f7e62845fd66df3f6f9003cb850f2b0d9bc5 (diff) |
feat(odin): Add Odin Lang module (#5873)
* Add Odin lang module
* add utils string and remove commit number from output
* switch to new symbol because ZWJ support is rare
* add config docs
* add option to show the commit number
* fix lack of trimming
* fix formatting to comply with checks
* Add trailing newline to comply with cargo fmt
* Add new Odin test and add newline in cmd output
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r-- | src/modules/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs index 8bbc5f5b9..e842b4940 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -56,6 +56,7 @@ mod nim; mod nix_shell; mod nodejs; mod ocaml; +mod odin; mod opa; mod openstack; mod os; @@ -165,6 +166,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> { "nix_shell" => nix_shell::module(context), "nodejs" => nodejs::module(context), "ocaml" => ocaml::module(context), + "odin" => odin::module(context), "opa" => opa::module(context), "openstack" => openstack::module(context), "os" => os::module(context), @@ -287,6 +289,7 @@ pub fn description(module: &str) -> &'static str { "nix_shell" => "The nix-shell environment", "nodejs" => "The currently installed version of NodeJS", "ocaml" => "The currently installed version of OCaml", + "odin" => "The currently installed version of Odin", "opa" => "The currently installed version of Open Platform Agent", "openstack" => "The current OpenStack cloud and project", "os" => "The current operating system", |