global/neovim: switch from pyright to pylsp+ruff
This commit is contained in:
parent
0ecb179f26
commit
1cbfff3024
2 changed files with 19 additions and 2 deletions
|
@ -41,6 +41,11 @@
|
|||
action = "<C-\\><C-n>";
|
||||
mode = "t";
|
||||
}
|
||||
{
|
||||
key = "<M-CR>";
|
||||
action.__raw = "vim.lsp.buf.code_action";
|
||||
mode = [ "n" "i" "v" "s" ];
|
||||
}
|
||||
];
|
||||
|
||||
plugins = {
|
||||
|
@ -83,7 +88,19 @@
|
|||
};
|
||||
};
|
||||
nimls.enable = true;
|
||||
pyright.enable = true;
|
||||
pylsp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
plugins = {
|
||||
ruff = {
|
||||
formatEnabled = true;
|
||||
enable = true;
|
||||
format = [ "I" ];
|
||||
};
|
||||
rope.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installRustc = false;
|
||||
|
|
|
@ -53,8 +53,8 @@ in
|
|||
pyls-isort
|
||||
pytest
|
||||
])
|
||||
pyright
|
||||
pipenv
|
||||
ruff
|
||||
|
||||
# Racket
|
||||
racket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue