1
mirror of https://github.com/wlcx/home.git synced 2026-01-02 20:53:45 +00:00

hx: fix rust-analyzer, remove basedpyright (it's in upstream)

This commit is contained in:
Sam W 2025-12-29 17:53:25 +01:00
parent edefea64ee
commit 072ff7acdc

View File

@ -18,24 +18,18 @@
}; };
}; };
languages = { languages = {
language-server.basedpyright = { language-server.rust-analyzer.config = {
command = "basedpyright-langserver"; # Don't get lost in .direnv etc and chew 100% cpu forever
args = [ "--stdio" ]; files.excludeDirs = [
".git"
".cargo"
".direnv"
];
}; };
language = [ language = [
{ {
name = "python"; name = "python";
roots = [ language-servers = [ "ty" "basedpyright" ];
"pyproject.toml"
"setup.py"
"poetry.lock"
".git"
];
language-servers = [
{
name = "basedpyright";
}
];
} }
]; ];
}; };