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 = {
language-server.basedpyright = {
command = "basedpyright-langserver";
args = [ "--stdio" ];
language-server.rust-analyzer.config = {
# Don't get lost in .direnv etc and chew 100% cpu forever
files.excludeDirs = [
".git"
".cargo"
".direnv"
];
};
language = [
{
name = "python";
roots = [
"pyproject.toml"
"setup.py"
"poetry.lock"
".git"
];
language-servers = [
{
name = "basedpyright";
}
];
language-servers = [ "ty" "basedpyright" ];
}
];
};