diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2025-03-16 01:49:12 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2025-03-16 01:49:12 -0600 |
commit | d2afccfda51f0a13cce8e659032fd5c177b721f0 (patch) | |
tree | f6f10f7d4b253c50d5ac261a875bd1e7d86e661d /lua/plugins/lspconfig.lua | |
parent | 67d76fd18c0af3f00d9c55f82597401116a456fa (diff) |
Diffstat (limited to 'lua/plugins/lspconfig.lua')
-rw-r--r-- | lua/plugins/lspconfig.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index ec41a3f..5192a36 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -36,7 +36,7 @@ local servers = { allFeatures = true, }, }, - ruff_lsp = { + ruff = { init_options = { settings = { -- Any extra CLI arguments for `ruff` go here. @@ -79,7 +79,7 @@ return { 'gopls', 'rust-analyzer', 'mypy', - 'ruff-lsp', + 'ruff', 'pyright', 'lua-language-server', 'shfmt', @@ -120,7 +120,7 @@ return { -- TODO: change keybinds to the autocmd suggested by the lspconfig github local on_attach = function(client, bufnr) - if client.name == 'ruff_lsp' then + if client.name == 'ruff' then -- Disable hover in favor of Pyright client.server_capabilities.hoverProvider = false end @@ -208,7 +208,7 @@ return { setup_server('gopls') setup_server('rust_analyzer') setup_server('pyright') - setup_server('ruff_lsp') + setup_server('ruff') setup_server('lua_ls') setup_server('bashls') -- assumes localhost is mirrored (networkingMode=mirrored in .wslconfig) |