fix deprecated settings

This commit is contained in:
Joakim Repomaa
2025-06-17 11:53:49 +03:00
parent 4d267dbde8
commit 3e7e960b8a

View File

@@ -13,7 +13,10 @@ let
src =
let
selectSystem = attrs: attrs.${pkgs.stdenv.hostPlatform.system} or (throw "Unsupported system: ${pkgs.stdenv.hostPlatform.system}");
selectSystem =
attrs:
attrs.${pkgs.stdenv.hostPlatform.system}
or (throw "Unsupported system: ${pkgs.stdenv.hostPlatform.system}");
in
pkgs.fetchurl (selectSystem {
x86_64-linux = {
@@ -44,7 +47,11 @@ let
description = "Language server for the Ameba linter for Crystal lang";
homepage = "https://github.com/crystal-lang-tools/ameba-ls";
license = licenses.mit;
platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
platforms = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
mainProgram = "ameba-ls";
};
};
@@ -80,10 +87,10 @@ in
version = "2";
default_model = {
provider = "zed.dev";
model = "claude-sonnet-4-thinking-latest";
model = "claude-sonnet-4-thinking";
};
};
autoUpdate = false;
auto_update = false;
telemetry = {
diagnostics = false;
metrics = false;
@@ -180,10 +187,10 @@ in
line_height = "standard";
font_family = "IosevkaTerm Nerd Font";
};
show_edit_predictions = true;
edit_predictions.mode = "subtle";
features = {
"edit_prediction_provider" = "zed";
edit_predictions = {
enabled = true;
mode = "subtle";
provider = "zed";
};
buffer_font_family = "Iosevka Nerd Font";
buffer_font_size = 16;