nix-config/users/tacocat/helix/default.nix

53 lines
1 KiB
Nix
Raw Normal View History

2023-10-21 00:49:53 +00:00
{
# config,
pkgs,
inputs,
...
}: {
imports = [
./languages.nix
];
programs.helix = {
enable = true;
package = inputs.helix.packages.${pkgs.system}.default;
extraPackages = with pkgs; [
clang-tools
marksman
nil
nodePackages.bash-language-server
shellcheck
texlab
tectonic
2023-12-02 01:48:48 +00:00
lua-language-server
zathura
];
2023-10-21 00:49:53 +00:00
settings = {
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";
};
};
};
};
}