fix: update mason org and ruff LSP server name

- Replace williamboman/mason.nvim → mason-org/mason.nvim
- Replace williamboman/mason-lspconfig.nvim → mason-org/mason-lspconfig.nvim
  (mason moved to the mason-org GitHub organisation)
- Replace deprecated ruff_lsp server name with ruff in init.lua
  (ruff-lsp is deprecated; ruff now ships its own built-in LSP)

https://claude.ai/code/session_015n34EuHJuJjs9txfysJ5g9
This commit is contained in:
Claude 2026-03-04 07:18:45 +00:00
parent f61ee4f4df
commit f7d144628b
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -697,7 +697,7 @@ require('lazy').setup({
-- Python
basedpyright = {}, -- type checking
ruff_lsp = { -- linting + quickfixes
ruff = { -- linting + quickfixes
on_attach = function(client)
-- Let basedpyright handle hovers; ruff for diagnostics/code actions
client.server_capabilities.hoverProvider = false

View File

@ -1,10 +1,10 @@
-- lua/kickstart/plugins/devstack.lua
return {
-- Mason core + LSP glue
{ 'williamboman/mason.nvim', build = ':MasonUpdate', config = true },
{ 'mason-org/mason.nvim', build = ':MasonUpdate', config = true },
{
'williamboman/mason-lspconfig.nvim',
dependencies = { 'williamboman/mason.nvim' },
'mason-org/mason-lspconfig.nvim',
dependencies = { 'mason-org/mason.nvim' },
opts = {
ensure_installed = {
-- LSP servers
@ -19,7 +19,7 @@ return {
{
-- Auto-install external tools on first start
'WhoIsSethDaniel/mason-tool-installer.nvim',
dependencies = { 'williamboman/mason.nvim' },
dependencies = { 'mason-org/mason.nvim' },
opts = {
ensure_installed = {
-- Python