mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-03-23 22:41:31 -04:00
configure helix
This commit is contained in:
parent
142aff9f22
commit
351a6257d8
2 changed files with 25 additions and 3 deletions
|
|
@ -23,13 +23,13 @@ in
|
|||
./nushell.nix
|
||||
./starship.nix
|
||||
./terminal.nix
|
||||
./helix.nix
|
||||
];
|
||||
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
screen
|
||||
ouch
|
||||
helix
|
||||
;
|
||||
};
|
||||
|
||||
|
|
@ -44,8 +44,8 @@ in
|
|||
SHELL = "zsh";
|
||||
TERM = "foot";
|
||||
TERMINAL = "foot";
|
||||
VISUAL = "nvim";
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "hx";
|
||||
EDITOR = "hx";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
22
home/crow/common/core/helix.nix
Normal file
22
home/crow/common/core/helix.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "hex_toxic";
|
||||
};
|
||||
languages = {
|
||||
language-server.phpactor = with pkgs; {
|
||||
command = "${phpactor}/bin/phpactor";
|
||||
args = ["language-server"];
|
||||
};
|
||||
language = [{
|
||||
name = "php";
|
||||
language-servers = ["intelephense" "phpactor"];
|
||||
}];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue