mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-22 13:53:09 +02:00
unf*** helix
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
4c0dac6b36
commit
14b3265fd0
1 changed files with 39 additions and 32 deletions
|
@ -110,38 +110,45 @@ in {
|
|||
helix = {
|
||||
enable = true;
|
||||
package = helix;
|
||||
languages.language = [
|
||||
{
|
||||
name = "cpp";
|
||||
scope = "source.cpp";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
language-server.command = "clangd";
|
||||
file-types = [ "cpp" ];
|
||||
}
|
||||
{
|
||||
name = "c";
|
||||
scope = "source.c";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
language-server.command = "clangd";
|
||||
file-types = [ "c" ];
|
||||
}
|
||||
{
|
||||
name = "nix";
|
||||
scope = "source.nix";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
language-server.command = "nil";
|
||||
file-types = [ "nix" ];
|
||||
}
|
||||
];
|
||||
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";
|
||||
scope = "source.cpp";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
# language-server.command = "clangd";
|
||||
file-types = [ "cpp" ];
|
||||
}
|
||||
{
|
||||
name = "c";
|
||||
scope = "source.c";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
# language-server.command = "clangd";
|
||||
file-types = [ "c" ];
|
||||
}
|
||||
{
|
||||
name = "nix";
|
||||
scope = "source.nix";
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
# language-server.command = "nil";
|
||||
file-types = [ "nix" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
settings = {
|
||||
theme = "everblush";
|
||||
editor = {
|
||||
|
|
Loading…
Reference in a new issue