mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-03-07 17:26:00 +00:00
Compare commits
2 commits
c7fe3c1818
...
b985468159
| Author | SHA1 | Date | |
|---|---|---|---|
|
b985468159 |
|||
|
|
2dcdfd2bf4 |
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