global/neovim: switch from pyright to pylsp+ruff

This commit is contained in:
Infinidoge 2024-09-15 22:06:22 -04:00
parent 0ecb179f26
commit 1cbfff3024
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 19 additions and 2 deletions

View file

@ -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;

View file

@ -53,8 +53,8 @@ in
pyls-isort
pytest
])
pyright
pipenv
ruff
# Racket
racket