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>"; action = "<C-\\><C-n>";
mode = "t"; mode = "t";
} }
{
key = "<M-CR>";
action.__raw = "vim.lsp.buf.code_action";
mode = [ "n" "i" "v" "s" ];
}
]; ];
plugins = { plugins = {
@ -83,7 +88,19 @@
}; };
}; };
nimls.enable = true; nimls.enable = true;
pyright.enable = true; pylsp = {
enable = true;
settings = {
plugins = {
ruff = {
formatEnabled = true;
enable = true;
format = [ "I" ];
};
rope.enable = true;
};
};
};
rust-analyzer = { rust-analyzer = {
enable = true; enable = true;
installRustc = false; installRustc = false;

View file

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