fix deprecated settings
This commit is contained in:
@@ -11,9 +11,12 @@ let
|
|||||||
pname = "ameba-ls";
|
pname = "ameba-ls";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
let
|
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
|
in
|
||||||
pkgs.fetchurl (selectSystem {
|
pkgs.fetchurl (selectSystem {
|
||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
@@ -44,7 +47,11 @@ let
|
|||||||
description = "Language server for the Ameba linter for Crystal lang";
|
description = "Language server for the Ameba linter for Crystal lang";
|
||||||
homepage = "https://github.com/crystal-lang-tools/ameba-ls";
|
homepage = "https://github.com/crystal-lang-tools/ameba-ls";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
|
platforms = [
|
||||||
|
"x86_64-linux"
|
||||||
|
"aarch64-linux"
|
||||||
|
"aarch64-darwin"
|
||||||
|
];
|
||||||
mainProgram = "ameba-ls";
|
mainProgram = "ameba-ls";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -80,10 +87,10 @@ in
|
|||||||
version = "2";
|
version = "2";
|
||||||
default_model = {
|
default_model = {
|
||||||
provider = "zed.dev";
|
provider = "zed.dev";
|
||||||
model = "claude-sonnet-4-thinking-latest";
|
model = "claude-sonnet-4-thinking";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
autoUpdate = false;
|
auto_update = false;
|
||||||
telemetry = {
|
telemetry = {
|
||||||
diagnostics = false;
|
diagnostics = false;
|
||||||
metrics = false;
|
metrics = false;
|
||||||
@@ -180,10 +187,10 @@ in
|
|||||||
line_height = "standard";
|
line_height = "standard";
|
||||||
font_family = "IosevkaTerm Nerd Font";
|
font_family = "IosevkaTerm Nerd Font";
|
||||||
};
|
};
|
||||||
show_edit_predictions = true;
|
edit_predictions = {
|
||||||
edit_predictions.mode = "subtle";
|
enabled = true;
|
||||||
features = {
|
mode = "subtle";
|
||||||
"edit_prediction_provider" = "zed";
|
provider = "zed";
|
||||||
};
|
};
|
||||||
buffer_font_family = "Iosevka Nerd Font";
|
buffer_font_family = "Iosevka Nerd Font";
|
||||||
buffer_font_size = 16;
|
buffer_font_size = 16;
|
||||||
|
|||||||
Reference in New Issue
Block a user