mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 06:57:48 +00:00
Merge efca2828b6 into ceaae0eb2e
This commit is contained in:
commit
758216678d
2 changed files with 32 additions and 0 deletions
|
|
@ -36,3 +36,7 @@
|
||||||
[Libadoxon](https://github.com/Libadoxon):
|
[Libadoxon](https://github.com/Libadoxon):
|
||||||
|
|
||||||
- `toggleterm` open map now also works when in terminal mode
|
- `toggleterm` open map now also works when in terminal mode
|
||||||
|
|
||||||
|
[Machshev](https://github.com/machshev):
|
||||||
|
|
||||||
|
- Added `ruff` and `ty` LSP support for Python using the new API.
|
||||||
|
|
|
||||||
|
|
@ -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