some scx shenanigans

This commit is contained in:
cnst
2024-11-04 19:02:01 +01:00
parent 0f497bb437
commit 1ee5fd627e
13 changed files with 154 additions and 158 deletions

View File

@@ -35,7 +35,10 @@ in {
normal = "block";
select = "underline";
};
indent-guides.render = true;
indent-guides = {
render = true;
character = "";
};
inline-diagnostics = {
cursor-line = "hint";
other-lines = "error";
@@ -46,7 +49,7 @@ in {
};
gutters = ["diagnostics" "line-numbers" "spacer" "diff"];
statusline = {
separator = "of";
separator = "/";
left = [
"mode"
"selections"
@@ -59,8 +62,7 @@ in {
right = [
"file-encoding"
"file-line-ending"
"position-percentage"
"spacer"
"position"
"separator"
"total-line-numbers"
];

View File

@@ -60,7 +60,7 @@
name = "nix";
auto-format = true;
file-types = ["nix"];
language-servers = ["nil"];
language-servers = ["nixd"];
formatter = {
command = lib.getExe pkgs.alejandra;
args = ["-q"];
@@ -115,11 +115,6 @@
++ prettierLangs langs;
language-server = {
gpt = {
command = "helix-gpt";
args = ["--copilotApiKey" "cat /run/agenix/helix-gpt"];
};
bash-language-server = {
command = lib.getExe pkgs.bash-language-server;
args = ["start"];
@@ -170,6 +165,10 @@
command = lib.getExe pkgs.nil;
};
nixd = {
command = lib.getExe pkgs.nixd;
};
pyright = {
command = "${pkgs.pyright}/bin/pyright-langserver";
args = ["--stdio"];