mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: lsp changes, starship-jj
This commit is contained in:
parent
414a45327b
commit
032025969f
4 changed files with 49 additions and 1 deletions
|
|
@ -13,6 +13,15 @@
|
|||
programs = {
|
||||
jujutsu = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = with tree.home.user.data; {
|
||||
name = userName;
|
||||
email = userEmail;
|
||||
};
|
||||
};
|
||||
};
|
||||
jjui = {
|
||||
enable = true;
|
||||
};
|
||||
delta = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
_: {
|
||||
{ pkgs, lib, ... }: let
|
||||
inherit (lib.meta) getExe;
|
||||
in {
|
||||
home.packages = [
|
||||
pkgs.starship-jj
|
||||
];
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
|
|
@ -6,6 +11,14 @@ _: {
|
|||
time = {
|
||||
disabled = false;
|
||||
};
|
||||
custom.jj = {
|
||||
command = "prompt";
|
||||
format = "$output";
|
||||
ignore_timeout = true;
|
||||
shell = ["${getExe pkgs.starship-jj}" "--ignore-working-copy" "starship"];
|
||||
use_stdin = false;
|
||||
when = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue