switch to ruff from ruff_lsp for neovim

This commit is contained in:
JesseBot 2024-11-11 12:59:48 +01:00
parent 88f130c69e
commit 1f63664246
No known key found for this signature in database

View file

@ -5,7 +5,7 @@ require("mason").setup()
require("mason-lspconfig").setup {
-- automatically install language servers setup below for lspconfig
automatic_installation = true,
ensure_installed = { "bashls", "jedi_language_server", "ruff_lsp", "lua_ls" }
ensure_installed = { "bashls", "jedi_language_server", "ruff", "lua_ls" }
}
-- Set up lspconfig.
@ -104,7 +104,7 @@ lspconfig.jedi_language_server.setup{
}
-- python - ruff linting
lspconfig.ruff_lsp.setup{
lspconfig.ruff.setup{
capabilities = capabilities
}