zed improvements
This commit is contained in:
parent
cabe7153ed
commit
ca70b17054
2 changed files with 25 additions and 8 deletions
|
|
@ -87,13 +87,16 @@ in {
|
|||
package = pkgs.hyprland;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
plugins = with pkgs.hyprlandPlugins; [
|
||||
# inputs.hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3
|
||||
hy3
|
||||
hypr-dynamic-cursors
|
||||
(inputs.hypr-darkwindow.packages.${pkgs.stdenv.hostPlatform.system}.Hypr-DarkWindow.overrideAttrs (super: {
|
||||
buildInputs = with pkgs; [hyprland.dev] ++ hyprland.buildInputs;
|
||||
}))
|
||||
];
|
||||
settings = {
|
||||
"plugin:dynamic-cursors" = {
|
||||
shake.enabled = false;
|
||||
};
|
||||
"plugin:hy3" = {
|
||||
no_gaps_when_only = 1;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -24,22 +24,36 @@ in {
|
|||
"elm"
|
||||
"nix"
|
||||
];
|
||||
extraPackages = with pkgs; [ package-version-server ];
|
||||
userKeymaps = [
|
||||
{
|
||||
context = "Editor || vim_mode == normal";
|
||||
bindings = {
|
||||
"tab" = "pane::ActivateNextItem";
|
||||
"shift-tab" = "pane::ActivatePrevItem";
|
||||
};
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
vim_mode = true;
|
||||
show_whitespaces = "boundary";
|
||||
soft_wrap = "editor_width";
|
||||
load_direnv = "shell_hook";
|
||||
telemetry = {
|
||||
diagnostics = false;
|
||||
metrics = false;
|
||||
};
|
||||
node = {
|
||||
path = lib.getExe pkgs.nodejs;
|
||||
npm_path = lib.getExe' pkgs.nodejs "npm";
|
||||
};
|
||||
languages.Nix.formatter.external = {
|
||||
command = "alejandra";
|
||||
arguments = ["--quiet" "--"];
|
||||
};
|
||||
lsp = {
|
||||
elm-language-server.initialization_options = {
|
||||
"elmReviewDiagnostics" = "warning";
|
||||
|
||||
# "elmPath" = "${pkgs.elmPackages.elm}/bin/elm";
|
||||
# "elmReviewPath" = "${pkgs.elmPackages.elm-review}/bin/elm-review";
|
||||
# "elmFormatPath" = "${pkgs.elmPackages.elm-format}/bin/elm-format";
|
||||
"elmPath" = "elm";
|
||||
"elmReviewPath" = "elm-review";
|
||||
"elmFormatPath" = "elm-format";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue