require("lspconfig")["leanls"].setup({}) require("lean").setup({}) require("which-key").register({ l = { i = { "LeanInfoviewToggle", "Toggle Lean info view" }, p = { "LeanInfoviewPinTogglePause", "Pause Lean info view" }, s = { "LeanSorryFill", "Fill open goals with sorry" }, w = { "LeanInfoviewEnableWidgets", "Enable Lean widgets" }, W = { "LeanInfoviewDisableWidgets", "Disable Lean widgets" }, ["?"] = { "LeanAbbreviationsReverseLookup", "Show what Lean abbreviation produces the symbol under the cursor", }, }, }, { prefix = vim.api.nvim_get_var("maplocalleader") })