From 3bf915a1f9e912f595e9e07911af07991175b5ec Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 28 Oct 2022 19:33:24 +0200 Subject: [PATCH] chore: add support for installed programming languages in starship --- starship.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/starship.toml b/starship.toml index c989f97..d4ba1aa 100644 --- a/starship.toml +++ b/starship.toml @@ -6,6 +6,13 @@ command_timeout = 1000 [nodejs] detect_files = ["package.json", ".node-version", ".nvmrc", ".tool-versions"] +[deno] +detect_files = ["deno.json", "deno.jsonc", "mod.ts", "mod.js", "deps.ts", "deps.js", ".tool-versions"] +style = "blue bold" + +[lua] +detect_files = [".lua-version", ".tool-versions"] + [ruby] detect_files = ["Gemfile", ".ruby-version", ".tool-versions"] @@ -15,6 +22,9 @@ detect_files = [".python-version", "Pipfile", "__init__.py", "pyproject.toml", " [rust] detect_files = ["Cargo.toml", ".tool-versions"] +[golang] +detect_files = ["go.mod", "go.sum", "go.work", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version", ".tool-versions"] + # "bold red" style when capacity is between 0% and 10% [[battery.display]] threshold = 10