mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 06:57:48 +00:00
Merge pull request #1320 from machshev/python-lsps
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
python: expand LSPs
This commit is contained in:
commit
b985468159
2 changed files with 32 additions and 0 deletions
|
|
@ -131,3 +131,7 @@
|
||||||
- Added [rumdl](https://github.com/rvben/rumdl) support to `languages.markdown`
|
- Added [rumdl](https://github.com/rvben/rumdl) support to `languages.markdown`
|
||||||
|
|
||||||
- Added [sqruff](https://github.com/quarylabs/sqruff) support to `languages.sql`
|
- Added [sqruff](https://github.com/quarylabs/sqruff) support to `languages.sql`
|
||||||
|
|
||||||
|
[Machshev](https://github.com/machshev):
|
||||||
|
|
||||||
|
- Added `ruff` and `ty` LSP support for Python under `programs.python`.
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,34 @@
|
||||||
".git"
|
".git"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ruff = {
|
||||||
|
enable = true;
|
||||||
|
cmd = [(getExe pkgs.ruff) "server"];
|
||||||
|
filetypes = ["python"];
|
||||||
|
root_markers = [
|
||||||
|
"pyproject.toml"
|
||||||
|
"setup.py"
|
||||||
|
"setup.cfg"
|
||||||
|
"requirements.txt"
|
||||||
|
"Pipfile"
|
||||||
|
".git"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
ty = {
|
||||||
|
enable = true;
|
||||||
|
cmd = [(getExe pkgs.ty) "server"];
|
||||||
|
filetypes = ["python"];
|
||||||
|
root_markers = [
|
||||||
|
"pyproject.toml"
|
||||||
|
"setup.py"
|
||||||
|
"setup.cfg"
|
||||||
|
"requirements.txt"
|
||||||
|
"Pipfile"
|
||||||
|
".git"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultFormat = ["black"];
|
defaultFormat = ["black"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue