Skip to content

Commit f494472

Browse files
committed
Don't quash the copilotchat mapping in Lean buffers.
1 parent bf7ffb0 commit f494472

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.config/nvim/after/ftplugin/lean.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ vim.wo.signcolumn = 'yes'
33
-- Match mathlib's default style.
44
vim.bo.textwidth = 100
55

6+
vim.keymap.del('n', '<LocalLeader>c', { buffer = true })
7+
vim.keymap.set(
8+
'n',
9+
'<LocalLeader>C',
10+
'<Plug>(LeanInfoviewClearPins)',
11+
{ buffer = true }
12+
)
13+
614
vim.keymap.set('n', '<LocalLeader>g', function()
715
require'telescope.builtin'.live_grep{
816
glob_pattern = '*.lean',

0 commit comments

Comments
 (0)