From 8a2d2ec44772227288b86b6733ed91425c537540 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Tue, 12 May 2026 12:25:20 +0200 Subject: [PATCH] update lsp config for nvim --- .../lua/eliaskohout/plugins/nvim-lspconfig.lua | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/config/nvim/lua/eliaskohout/plugins/nvim-lspconfig.lua b/config/nvim/lua/eliaskohout/plugins/nvim-lspconfig.lua index 19617da..e49cebb 100644 --- a/config/nvim/lua/eliaskohout/plugins/nvim-lspconfig.lua +++ b/config/nvim/lua/eliaskohout/plugins/nvim-lspconfig.lua @@ -168,20 +168,12 @@ return { -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - lua_ls = { - settings = { - Lua = { - completion = { - callSnippet = 'Replace', - }, - }, - }, - }, + lua_ls = { settings = { Lua = { completion = { callSnippet = 'Replace' } } } }, gopls = {}, - pylsp = {}, + ruff = { cmd = { '/run/current-system/sw/bin/ruff', 'server' } }, } - local servers_skip_mason = { lua_ls = true, gopls = true } + local servers_skip_mason = { lua_ls = true, gopls = true, ruff = true } local ensure_installed = vim.tbl_filter(function(name) return not servers_skip_mason[name] end, vim.tbl_keys(servers or {}))