unf*** helix

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-05-20 19:40:15 +03:00
parent 4c0dac6b36
commit 14b3265fd0

View file

@ -110,7 +110,13 @@ in {
helix = { helix = {
enable = true; enable = true;
package = helix; package = helix;
languages.language = [ languages = {
language-server = with pkgs; {
cpp.command = "${clang-tools}/bin/clangd";
c.command = "${clang-tools}/bin/clangd";
nix.command = "${nil}/bin/nil";
};
language = [
{ {
name = "cpp"; name = "cpp";
scope = "source.cpp"; scope = "source.cpp";
@ -118,7 +124,7 @@ in {
tab-width = 4; tab-width = 4;
unit = " "; unit = " ";
}; };
language-server.command = "clangd"; # language-server.command = "clangd";
file-types = [ "cpp" ]; file-types = [ "cpp" ];
} }
{ {
@ -128,7 +134,7 @@ in {
tab-width = 4; tab-width = 4;
unit = " "; unit = " ";
}; };
language-server.command = "clangd"; # language-server.command = "clangd";
file-types = [ "c" ]; file-types = [ "c" ];
} }
{ {
@ -138,10 +144,11 @@ in {
tab-width = 4; tab-width = 4;
unit = " "; unit = " ";
}; };
language-server.command = "nil"; # language-server.command = "nil";
file-types = [ "nix" ]; file-types = [ "nix" ];
} }
]; ];
};
settings = { settings = {
theme = "everblush"; theme = "everblush";
editor = { editor = {