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 {}))