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:
parent
edefea64ee
commit
072ff7acdc
@ -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";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user