summaryrefslogtreecommitdiffstats
path: root/src/configs
diff options
context:
space:
mode:
authorwhi-tw <tom@whi.tw>2021-02-22 20:10:36 +0000
committerGitHub <noreply@github.com>2021-02-22 14:10:36 -0600
commit4d3a4f230d5f38b75e667ee82a4fc6a3c6cf97dc (patch)
tree018199ce11863a2a5d933427aebeea688f1fd84a /src/configs
parent28170f62b07ff94b87908f52fbac942dc7653c8c (diff)
fix(nodejs): Change symbol to nerd-font (#1649)
The unicode hexagon symbol does not actually fit into a single column with a fixed-width font.  does. As starship requires a nerd font as a prerequisite, it's safe to assume that this symbol is available. Symbol link: https://www.nerdfonts.com/cheat-sheet?set=nf-mdi-nodejs In the documentation, I've left the '⬢' symbols in '#### Text Group' as they are, as they will continue displaying correctly in a browser without a nerd font available. I feel like readability is more important than consistency with the new nodejs symbol, especially as this documentation section does not actually refer to nodejs, rather it's just a symbol. As `⬢` has been replaced, use `⌘` instead in documentation to avoid any possible confusion
Diffstat (limited to 'src/configs')
-rw-r--r--src/configs/nodejs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configs/nodejs.rs b/src/configs/nodejs.rs
index 2bb9dcdeb..76ce25b8f 100644
--- a/src/configs/nodejs.rs
+++ b/src/configs/nodejs.rs
@@ -18,7 +18,7 @@ impl<'a> RootModuleConfig<'a> for NodejsConfig<'a> {
fn new() -> Self {
NodejsConfig {
format: "via [$symbol($version )]($style)",
- symbol: "⬢ ",
+ symbol: " ",
style: "bold green",
disabled: false,
not_capable_style: "bold red",