mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 15:07:48 +00:00
python: support pyrefly
This commit is contained in:
parent
b985468159
commit
1868774259
2 changed files with 17 additions and 0 deletions
|
|
@ -20,6 +20,21 @@
|
|||
|
||||
defaultServers = ["basedpyright"];
|
||||
servers = {
|
||||
pyrefly = {
|
||||
enable = true;
|
||||
cmd = [(getExe pkgs.pyrefly) "server"];
|
||||
filetypes = ["python"];
|
||||
root_markers = [
|
||||
"pyproject.toml"
|
||||
"pyrefly.toml"
|
||||
"setup.py"
|
||||
"setup.cfg"
|
||||
"requirements.txt"
|
||||
"Pipfile"
|
||||
".git"
|
||||
];
|
||||
};
|
||||
|
||||
pyright = {
|
||||
enable = true;
|
||||
cmd = [(getExe' pkgs.pyright "pyright-langserver") "--stdio"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue