Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab doesn't work when copilot.lua is configured (even with accept suggestion mapped to other source) #749

Closed
2 tasks done
leonnardo opened this issue Dec 24, 2024 · 3 comments
Labels
bug Something isn't working keymap

Comments

@leonnardo
Copy link

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

Tab does not work as it should (add the \t character to the editor, expanding or not to spaces) when running blink.cmp side by side with copilot.lua.

When copilot.lua is turned off, blink works fine!

Relevant configuration

keymap = {
	preset = "enter",
	["<Tab>"] = {
		"fallback",
	},
}

neovim version

v0.10.2

blink.cmp version: branch, tag, or commit

main

@leonnardo leonnardo added the bug Something isn't working label Dec 24, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 24, 2024

Are you setting your copilot.lua to use <Tab> for any of the keymaps? It may be overriding our keymaps, in which case, this would be a duplicate of #406

@Saghen Saghen added keymap needs more info Waiting on the author to provide more information labels Dec 24, 2024
@leonnardo
Copy link
Author

Are you setting your copilot.lua to use <Tab> for any of the keymaps? It may be overriding our keymaps, in which case, this would be a duplicate of #406

No, I'm not, I changed copilot.lua accept keymap to C-i

@Saghen Saghen removed the needs more info Waiting on the author to provide more information label Dec 29, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 29, 2024

I'm not able to reproduce this, if you're able to reproduce it with https://lazy.folke.io/developers#reprolua, I'll take another look but it seems that blink's keymaps are getting overridden

@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keymap
Projects
None yet
Development

No branches or pull requests

2 participants