2023-10-21 00:49:53 +00:00
|
|
|
{
|
|
|
|
# config,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./languages.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.helix = {
|
|
|
|
enable = true;
|
|
|
|
# package = inputs.helix.packages."x86_64-linux".default;
|
|
|
|
|
2023-10-21 01:13:32 +00:00
|
|
|
package = inputs.helix.packages.${pkgs.system}.default.overrideAttrs (self: {
|
|
|
|
makeWrapperArgs = with pkgs;
|
|
|
|
self.makeWrapperArgs
|
|
|
|
or []
|
|
|
|
++ [
|
|
|
|
"--suffix"
|
|
|
|
"PATH"
|
|
|
|
":"
|
|
|
|
(lib.makeBinPath [
|
|
|
|
clang-tools
|
|
|
|
marksman
|
|
|
|
nil
|
|
|
|
nodePackages.bash-language-server
|
|
|
|
shellcheck
|
|
|
|
java-language-server
|
|
|
|
])
|
|
|
|
];
|
|
|
|
});
|
2023-10-21 00:49:53 +00:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
theme = "rose_pine_moon";
|
|
|
|
editor = {
|
|
|
|
line-number = "relative";
|
|
|
|
lsp.display-messages = true;
|
|
|
|
scrolloff = 5;
|
|
|
|
middle-click-paste = false;
|
|
|
|
cursorline = true;
|
2023-11-20 01:27:09 +00:00
|
|
|
cursor-shape = {
|
|
|
|
insert = "bar";
|
|
|
|
normal = "block";
|
|
|
|
select = "block";
|
|
|
|
};
|
2023-10-21 00:49:53 +00:00
|
|
|
auto-format = false;
|
|
|
|
idle-timeout = 400;
|
|
|
|
color-modes = true;
|
|
|
|
soft-wrap.enable = true;
|
|
|
|
whitespace = {
|
|
|
|
render = {
|
|
|
|
space = "none";
|
|
|
|
tab = "none";
|
|
|
|
newline = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
indent-guides = {
|
|
|
|
render = true;
|
|
|
|
character = "▏";
|
|
|
|
rainbow-option = "dim";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|