feat(nvim): add starship.toml configuration file for nvim

fix(starship.toml): fix formatting and indentation issues in the file
This commit is contained in:
David Ibia
2025-01-09 01:49:47 +01:00
parent 1dbc6d4937
commit 72ce3eaee9
2 changed files with 75 additions and 1 deletions

74
.config/starship.toml Normal file
View File

@@ -0,0 +1,74 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$hg_branch\
$cmd_duration\
$line_break\
$lua\
$elixir\
$python\
$zig\
$character"""
right_format = """
$time"""
command_timeout = 3000
[directory]
style = "blue"
[character]
success_symbol = "[](purple)"
error_symbol = "[](red)"
vimcmd_symbol = "[](green)"
[git_branch]
format = "[$branch]($style)"
style = "bright-black"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[elixir]
symbol = "△ "
format = " exs [$symbol $version OTP $otp_version ]($style)"
[lua]
format = "[lua ${symbol}${version}]($style)"
version_format = "${raw}"
symbol = "⨀ "
style = "bold bright-yellow"
[time]
disabled = false
format = "[ $time]($style)"
time_format = "%R"
utc_time_offset = "local"
style = "bold"
[cmd_duration]
format = "[$duration]($style) "
style = "yellow"
[python]
format = "[$virtualenv]($style) "
style = "bright-black"