mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-07 07:28:40 +00:00
18 lines
741 B
Lua
18 lines
741 B
Lua
require("lspconfig")["leanls"].setup({})
|
|
|
|
require("lean").setup({})
|
|
|
|
require("which-key").add({
|
|
{ "<localleader>l", desc = "Lean" },
|
|
{ "<localleader>li", "<Cmd>LeanInfoviewToggle<CR>", desc = "Toggle Lean info view" },
|
|
{ "<localleader>lp", "<Cmd>LeanInfoviewPinTogglePause<CR>", desc = "Pause Lean info view" },
|
|
{ "<localleader>ls", "<Cmd>LeanSorryFill<CR>", desc = "Fill open goals with sorry" },
|
|
{ "<localleader>lw", "<Cmd>LeanInfoviewEnableWidgets<CR>", desc = "Enable Lean widgets" },
|
|
{ "<localleader>lW", "<Cmd>LeanInfoviewDisableWidgets<CR>", desc = "Disable Lean widgets" },
|
|
{
|
|
"<localleader>l?",
|
|
"<Cmd>LeanAbbreviationsReverseLookup<CR>",
|
|
desc = "Show what Lean abbreviation produces the symbol under the cursor",
|
|
},
|
|
})
|