diff options
| author | Mike Vink <> | 2023-04-16 09:59:19 +0200 |
|---|---|---|
| committer | Mike Vink <> | 2023-04-16 09:59:19 +0200 |
| commit | 65391314b5dfe5ef871929324046b7e13a288d02 (patch) | |
| tree | addcf6cbf768c25d0a8e9d331f6883a5ecbc4e22 /fnl/conf/pkgs/heirline.fnl | |
| parent | 3c565e9b6e7c95f29507eb751bd1f951bc466425 (diff) | |
big changes?
Diffstat (limited to 'fnl/conf/pkgs/heirline.fnl')
| -rw-r--r-- | fnl/conf/pkgs/heirline.fnl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fnl/conf/pkgs/heirline.fnl b/fnl/conf/pkgs/heirline.fnl index b39bcf3..3579d9c 100644 --- a/fnl/conf/pkgs/heirline.fnl +++ b/fnl/conf/pkgs/heirline.fnl @@ -78,10 +78,20 @@ (string.rep (. self :sbar i) 2)) :hl {:fg (theme :syn :fun) :bg (theme :ui :bg)}}) +(local Nix + {:condition (fn [] vim.env.IN_NIX_SHELL) + :provider (fn [self] + (local purity vim.env.IN_NIX_SHELL) + (local name vim.env.name) + (.. "" purity "(" name ")")) + :hl {:fg (theme :syn :fun) :bold true :bg (theme :ui :bg_m3)}}) + (local StatusLine [FileNameBlock Space DAPMessages Align + Nix + Space Ruler Space ScrollBar |
