Compare commits

..

3 commits

Author SHA1 Message Date
db434c2114 make rust-analyzer use clippy by default
and add nushell as its own ls and remove the old cd config
2023-11-20 01:29:52 +01:00
b53b0e8009 fix colors (again) 2023-11-20 01:29:07 +01:00
3f5e80cdc0 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/8765d4e38aa0be53cdeee26f7386173e6c65618d' (2023-11-03)
  → 'github:nix-community/home-manager/ecd0a800f716b80a6eac58a7ac34d6d33e6fa5ee' (2023-11-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04)
  → 'github:NixOS/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/aeefe2054617cae501809b82b44a8e8f7be7cc4b' (2023-11-05)
  → 'github:NixOS/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16)
2023-11-18 15:05:00 +01:00
4 changed files with 51 additions and 33 deletions

View file

@ -245,11 +245,11 @@
]
},
"locked": {
"lastModified": 1699025595,
"narHash": "sha256-e+o4PoSu2Z6Ww8y/AVUmMU200rNZoRK+p2opQ7Db8Rg=",
"lastModified": 1700261686,
"narHash": "sha256-kplQg6hKFNuWKrOyGp9D//G/WH1nHGJ43r2m7fagTYY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "8765d4e38aa0be53cdeee26f7386173e6c65618d",
"rev": "ecd0a800f716b80a6eac58a7ac34d6d33e6fa5ee",
"type": "github"
},
"original": {
@ -418,11 +418,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1699169573,
"narHash": "sha256-cvUb1xZkvOp3W2SzylStrTirhVd9zCeo5utJl9nSIhw=",
"lastModified": 1700097215,
"narHash": "sha256-ODQ3gBTv1iHd7lG21H+ErVISB5wVeOhd/dEogOqHs/I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "aeefe2054617cae501809b82b44a8e8f7be7cc4b",
"rev": "9fb122519e9cd465d532f736a98c1e1eb541ef6f",
"type": "github"
},
"original": {
@ -569,11 +569,11 @@
},
"nixpkgs_9": {
"locked": {
"lastModified": 1699099776,
"narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=",
"lastModified": 1700204040,
"narHash": "sha256-xSVcS5HBYnD3LTer7Y2K8ZQCDCXMa3QUD1MzRjHzuhI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb",
"rev": "c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad",
"type": "github"
},
"original": {

View file

@ -93,10 +93,10 @@
label-disconnected-foreground = "#d65d0e";
ramp.signal = [
"%{F#cc241d}󰣾"
"%{F#d65d0e}󰣴"
"%{F#d65d0e}󰣶"
"%{F#d65d0e}󰣸"
"%{F#bdae93}󰣺"
"%{F#d79921}󰣴"
"%{F#98971a}󰣶"
"%{F#98971a}󰣸"
"%{F#98971a}󰣺"
];
};
@ -116,21 +116,21 @@
format-charging = "<ramp-capacity> <label-charging>";
label-discharging = "%{F#ebdbb2}%percentage%%%{F#bdae93} %time%";
format-discharging = "<ramp-capacity> <label-discharging>";
label-full = "%{F#d65d0e}󰁹%{F#ebdbb2} %percentage%%";
label-full = "%{F#98971a}󰁹%{F#ebdbb2} %percentage%%";
format-full = "<label-full>";
label-low = "%{F#d65d0e}󰂎%{F#ebdbb2} %percentage%%";
label-low = "%{F#cc241d}󰂎%{F#ebdbb2} %percentage%%";
format-low = "<label-low>";
ramp.capacity = [
"%{F#cc241d}󰁺"
"%{F#cc241d}󰁻"
"%{F#d65d0e}󰁼"
"%{F#d65d0e}󰁽"
"%{F#d65d0e}󰁾"
"%{F#d65d0e}󰁿"
"%{F#d65d0e}󰂀"
"%{F#d65d0e}󰂁"
"%{F#bdae93}󰂂"
"%{F#bdae93}󰁹"
"%{F#d79921}󰁻"
"%{F#98971a}󰁼"
"%{F#98971a}󰁽"
"%{F#98971a}󰁾"
"%{F#98971a}󰁿"
"%{F#98971a}󰂀"
"%{F#98971a}󰂁"
"%{F#98971a}󰂂"
"%{F#98971a}󰁹"
];
};

View file

@ -25,14 +25,35 @@
};
};
languages = {
"php" = {
name = "php";
file-types = [ "php" ];
language-server = {
command = "psalm";
args = ["--language-server"];
language-server."nu-builtin-lsp" = {
command = "${config.users.defaultUserShell}/bin/nu";
args = [ "--lsp" ];
};
language-server."rust-analyzer" = {
config = {
check.command = "clippy";
};
};
# "php" = {
# name = "php";
# file-types = [ "php" ];
# language-server = {
# command = "psalm";
# args = ["--language-server"];
# };
# };
# "nu" = {
# name = "nu";
# file-types = [ "nu" ];
# language-servers = [{
# }];
# };
language = [
{
name = "nu";
language-servers = [ "nu-builtin-lsp" ];
}
];
};
};
};

View file

@ -150,9 +150,6 @@ $env.config = {
always_trash: true # always act as if -t was given. Can be overridden with -p
}
cd: {
}
table: {
mode: reinforced # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column