-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pressing TAB on an old empty line sometimes jumps to a random line. #322
Comments
RECORDING>> https://youtu.be/JdqCMqTvmkM |
ditto. I also don't know why and cannot figure out how to locate issue. |
did you figure out why? @ostap-tymchenko |
It was some extension. I turned them on and off until I found the broken one. I can't remember which one it is now, and I stopped using neovim-from-scratch, and just made a custom one similar to it. |
Thanks for your tips. |
I guess it should be these lines: -- Accept currently selected item. If none selected, `select` first item.
-- Set `select` to `false` to only confirm explicitly selected items.
["<CR>"] = cmp.mapping.confirm { select = true },
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expandable() then
luasnip.expand()
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
elseif check_backspace() then
fallback()
else
fallback()
end
end, {
"i",
"s",
}), |
I've had this issue for at least a year now where sometimes when being on an empty line that was entered using and pressing tab, jumps to a seemingly random part of the open document. I have not been able to recreate it whilst recording, but the issue is really annoying.
Ill send in an update if I manage to record it.
My dots are found here: https://github.com/ostap-tymchenko/nvim-dots/
The text was updated successfully, but these errors were encountered: