2023-10-21 00:49:53 +00:00
|
|
|
{
|
|
|
|
# config,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./languages.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.helix = {
|
|
|
|
enable = true;
|
2023-11-29 03:48:18 +00:00
|
|
|
package = inputs.helix.packages.${pkgs.system}.default;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
clang-tools
|
|
|
|
marksman
|
|
|
|
nil
|
|
|
|
nodePackages.bash-language-server
|
|
|
|
shellcheck
|
|
|
|
java-language-server
|
|
|
|
texlab
|
|
|
|
tectonic
|
|
|
|
zathura
|
|
|
|
];
|
2023-10-21 00:49:53 +00:00
|
|
|
settings = {
|
2023-11-29 03:48:18 +00:00
|
|
|
theme = "catppuccin_frappe";
|
2023-10-21 00:49:53 +00:00
|
|
|
editor = {
|
|
|
|
line-number = "relative";
|
|
|
|
lsp.display-messages = true;
|
2023-11-23 04:54:46 +00:00
|
|
|
scrolloff = 10;
|
2023-10-21 00:49:53 +00:00
|
|
|
middle-click-paste = false;
|
|
|
|
cursorline = true;
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|