-
Notifications
You must be signed in to change notification settings - Fork 139
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
keymap.accept
prints my keymap when I press "enter"
#47
Comments
Before the v0.2.1 update there was no such issue. |
This keymap code is tricky... please send the output of these two commands
|
s <CR> * <Lua 99: ~/.config/nvim/lua/map.lua:30>
scroll down and align the cursor
Last set from Lua (run Nvim with -V1 for more details)
n <CR> * <Lua 80: ~/.config/nvim/lua/map.lua:30>
scroll down and align the cursor
Last set from Lua (run Nvim with -V1 for more details)
i <CR> *@<Lua 247: ~/.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/keymap.lua:47>
blink.cmp
Last set from Lua (run Nvim with -V1 for more details)
i <CR> * <Lua 76: ~/.config/nvim/lua/map.lua:30>
scroll down and align the cursor
Last set from Lua (run Nvim with -V1 for more details) |
Thanks! Could you send over your code for the two keymaps listed there? |
You mean this? {
mode = { "n", "i", "s" },
key = "<CR>",
cmd = function()
if vim.snippet.active() then
return map_util.wrap_in_cmd("lua vim.snippet.stop()")
else
return "<CR>"
end
end,
opts = { desc = "scroll down and align the cursor", expr = true }
}, |
lopi-py
pushed a commit
to lopi-py/blink.cmp
that referenced
this issue
Oct 10, 2024
lopi-py
pushed a commit
to lopi-py/blink.cmp
that referenced
this issue
Oct 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My blink config:
Screen.Recording.2024-10-09.at.00.36.40.mov
The text was updated successfully, but these errors were encountered: