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
|
-- Python
|
||||||
basedpyright = {}, -- type checking
|
basedpyright = {}, -- type checking
|
||||||
ruff_lsp = { -- linting + quickfixes
|
ruff = { -- linting + quickfixes
|
||||||
on_attach = function(client)
|
on_attach = function(client)
|
||||||
-- Let basedpyright handle hovers; ruff for diagnostics/code actions
|
-- Let basedpyright handle hovers; ruff for diagnostics/code actions
|
||||||
client.server_capabilities.hoverProvider = false
|
client.server_capabilities.hoverProvider = false
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
-- lua/kickstart/plugins/devstack.lua
|
-- lua/kickstart/plugins/devstack.lua
|
||||||
return {
|
return {
|
||||||
-- Mason core + LSP glue
|
-- Mason core + LSP glue
|
||||||
{ 'williamboman/mason.nvim', build = ':MasonUpdate', config = true },
|
{ 'mason-org/mason.nvim', build = ':MasonUpdate', config = true },
|
||||||
{
|
{
|
||||||
'williamboman/mason-lspconfig.nvim',
|
'mason-org/mason-lspconfig.nvim',
|
||||||
dependencies = { 'williamboman/mason.nvim' },
|
dependencies = { 'mason-org/mason.nvim' },
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
-- LSP servers
|
-- LSP servers
|
||||||
|
|
@ -19,7 +19,7 @@ return {
|
||||||
{
|
{
|
||||||
-- Auto-install external tools on first start
|
-- Auto-install external tools on first start
|
||||||
'WhoIsSethDaniel/mason-tool-installer.nvim',
|
'WhoIsSethDaniel/mason-tool-installer.nvim',
|
||||||
dependencies = { 'williamboman/mason.nvim' },
|
dependencies = { 'mason-org/mason.nvim' },
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
-- Python
|
-- Python
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue