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 = {
|
||||
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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user