Skip to content

Commit 6298765

Browse files
authored
Merge pull request #1357 from pyrox0/feat/zuban
languages/python: support zuban language server
2 parents 385c49d + d47d7c7 commit 6298765

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

docs/manual/release-notes/rl-0.9.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@
132132
133133
- Added [sqruff](https://github.com/quarylabs/sqruff) support to `languages.sql`
134134
135-
- Added [Pyrefly](https://pyrefly.org/) support to `languages.python`
135+
- Added [Pyrefly](https://pyrefly.org/) and [zuban](https://zubanls.com/)
136+
support to `languages.python`
136137
137138
- Added TOML support via {option}`languages.toml` and the
138139
[Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and

modules/plugins/languages/python.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,22 @@
169169
".git"
170170
];
171171
};
172+
173+
zuban = {
174+
enable = true;
175+
cmd = [(getExe pkgs.zuban) "server"];
176+
filetypes = ["python"];
177+
root_markers = [
178+
"pyproject.toml"
179+
"setup.py"
180+
"setup.cfg"
181+
"requirements.txt"
182+
"Pipfile"
183+
".git"
184+
"mypy.ini"
185+
".mypy.ini"
186+
];
187+
};
172188
};
173189

174190
defaultFormat = ["black"];

0 commit comments

Comments
 (0)