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

Wrong cursor position upon LSP expansion when combining tab indentation & virtualedit=all #889

Closed
2 tasks done
Tom94 opened this issue Jan 4, 2025 · 3 comments
Closed
2 tasks done
Labels
bug Something isn't working snippets Built-in provider and library for snippets

Comments

@Tom94
Copy link

Tom94 commented Jan 4, 2025

Make sure you have done the following

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

Bug Description

When using tabs for indentation, combined with :set virtualedit=all, LSP expansion places the cursor in the wrong location. See the following screencap:

2025-01-04.14-01-28.mp4

Note: when using LuaSnip instead of the builtin snippet support, all works fine.

Relevant configuration

vim.o.virtualedit = "all"

neovim version

NVIM v0.11.0-dev-1466+g7ddadd0fee

blink.cmp version: branch, tag, or commit

main

@Tom94 Tom94 added the bug Something isn't working label Jan 4, 2025
@ViniAman01
Copy link

Which plugin did you use for the cursor animation?

@Tom94
Copy link
Author

Tom94 commented Jan 4, 2025

It's kitty's cursor trail feature

@Saghen
Copy link
Owner

Saghen commented Jan 19, 2025

This appears to be an issue with the built-in snippet expansion, rather than with blink.cmp. There's been similar issues, such as in #94

@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2025
@Saghen Saghen added the snippets Built-in provider and library for snippets label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snippets Built-in provider and library for snippets
Projects
None yet
Development

No branches or pull requests

3 participants