summaryrefslogtreecommitdiffstats
path: root/src/configs/dotnet.rs
AgeCommit message (Collapse)Author
2022-09-09feat(schema): deny unknown keys (#4270)David Knaack
2022-04-01feat: allow printing config file schema (#3737)David Knaack
2022-03-26refactor: replace module_config_derive with serde (#3786)David Knaack
* refactor: replace module_config_derive with serde Changes include: * Removing `starship_module_config_derive` and replacing it with `serde::Deserialize` * Removing `RootModuleConfig::load_config`. While potentially useful, it was only used in tests. And it would require something like `serde::DeserializeSeed` which is not derived by serde. * Merging `RootModuleConfig` into `ModuleConfig` * Implementing a `ValueDeserializer` that holds a reference to a `toml::Value` in `serde_utils.rs` * Deserialization errors (invalid type) are now logged and include the current key and the struct names * Unknown keys are now considered an error. "Did you mean?"-messages are still possible * fix typo Co-authored-by: Matan Kushner <hello@matchai.dev> Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-07-04fix(dotnet): make default format consistent with other modules (#2853)Kid
Add via prefix to dotnet modules' default format config.
2021-06-05fix(dotnet): Don't treat folder with .sln file as a .NET project (#2785)Rumia
* Don't treat folder with .sln file as a .NET project * Update docs for .NET detect_extensions changes
2021-04-29feat: Add version formating for modules (#2611)filip
* format crystal version with VersionFormatter * update crystal dosc * format crystal module * fix typos * format dart version with VersionFormatter * fix dart malformed test * update dart docs * format cmake version with VersionFormatter * update cmake docs * format deno version with VersionFormatter * update deno docs * remove Version type * format dotnet version with VersionFormatter * update dotnet docs * format erlang version with VersionFormatter * update erlang docs * format golang version with VersionFormatter * refactor formatting in my modules * format helm version with VersionFormatter * format julia version with VersionFormatter * format kotlin version with VersionFormatter * format lua version with VersionFormatter * format nim version with VersionFormatter * format perl version with VersionFormatter * format php version with VersionFormatter * format purescript version with VersionFormatter * format scala version with VersionFormatter * format swift version with VersionFormatter * format terraform version with VersionFormatter * format vagrant version with VersionFormatter * format zig version with VersionFormatter * format elixir version with VersionFormatter * format ocaml version with VersionFormatter * update elixir docs * update golang docs * update helm docs * update julia docs * update kotlin docs * update lua docs * update nim docs * update ocaml docs * update perl docs * update php docs * update purescript docs * update scala docs * update swift docs * update terraform docs * update vagrant docs * update zig docs * format elm version with VersionFormatter * update elm docs * pass module_name as &str to format_module_version
2021-03-31feat(config): allow printing default and computed config (#2521)David Knaack
* feat: allow printing default and computed config * fix custom modules * actually fix custom modules
2021-03-18refactor(dotnet): ".NET" instead of "•NET" (#2471)Eyal Cherevatzki
* refactor(dotnet): ".NET" instead of "•NET" "•NET" looks quite weird, especially since the official writing is ".NET". * revert(docs): translated docs Co-authored-by: Eyal Cherevatzki <eyal@hyperguest.com>
2021-03-15refactor: replace RootModuleConfig with Default (#2458)David Knaack
2021-02-20feat(dotnet): Configure when module is shown (#2327)Thomas O'Donnell
This makes it possible to configure when the dotnet module is shown based on the contents of a directory. This should make it possible to be a lot more granular when configuring the module.
2021-01-20fix: Adjust default format strings (#2165)Moritz Vetter
* fix(dotnet): update dotnet format string * fix(dotnet): update erlang format string * fix(dotnet): update golang format string * fix(dotnet): update helm format string * fix(dotnet): update julia format string * fix(dotnet): update nim format string * fix(dotnet): update ruby format string * fix(dotnet): update rust format string * test: update formatted strings in unit tests * Use suggested format strings Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com> Co-authored-by: Moritz Vetter <mv@3yourmind.com> Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-07-07feat: refactor modules to use format strings (#1374)Zhenhui Xie
2019-10-05refactor: Implement Default for SegmentConfig (#495)Nikodem Rabuliński
Implements the Default trait for SegmentConfig to clean up construction of empty segments. Also adds a segment::new() function to ease construction of simple segments.
2019-10-04refactor: Go from Rust workspaces to a package with nested packages (#480)Matan Kushner