Keybindings for lean4.nvim
This commit is contained in:
parent
094df66621
commit
ebb61135a9
@ -503,9 +503,15 @@ local harpoon = require('harpoon')
|
|||||||
|
|
||||||
harpoon:setup()
|
harpoon:setup()
|
||||||
|
|
||||||
require('lean').setup{
|
local lean = require'lean'
|
||||||
|
|
||||||
|
lean.setup{
|
||||||
lsp = {
|
lsp = {
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
|
local opts = { buffer = bufnr }
|
||||||
|
vim.keymap.set({ "n", "v" }, "<Leader>ti", function () vim.cmd("LeanInfoviewToggle") end, opts)
|
||||||
|
vim.keymap.set({ "n", "v" }, "<Leader>sg", function () vim.cmd("LeanGoal") end, opts)
|
||||||
|
vim.keymap.set({ "n", "v" }, "<Leader>stg", function () vim.cmd("LeanTermGoal") end, opts)
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
mappings = true,
|
mappings = true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user