diff --git a/nvim/init.lua b/nvim/init.lua index 96ebb90..0c4c5f7 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -342,6 +342,7 @@ function setup_plugins() } end, }, + nix = { require("formatter.filetypes.nix").nixpkgs_fmt }, }, }) diff --git a/starship.toml b/starship.toml index 5b763c8..46ecb60 100644 --- a/starship.toml +++ b/starship.toml @@ -5,6 +5,8 @@ $directory\ $git_branch\ $git_state\ $git_status\ +$nix_shell\ +$python\ $line_break\ $character""" @@ -43,3 +45,8 @@ style = "dimmed" [python] format = "[$virtualenv]($style) " style = "bright-black" + +[nix_shell] +format = ' [$symbol$state( \($name\))]($style) ' +symbol = " " +style = "dimmed purple"