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:
parent
f61ee4f4df
commit
f7d144628b
2
init.lua
2
init.lua
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue