Skip to content

Bug: Causes cursor position issues in snacks.nvim picker input #257

@piersolenski

Description

@piersolenski

When nvim-ts-autotag is enabled, typing in the snacks.nvim grep picker causes characters to appear in the wrong order. The cursor appears to move backwards unexpectedly during text input, resulting in scrambled search queries. It may be happening in other pickers too, I don't use the full range of pickers provided.

Steps to Reproduce

  1. Enable nvim-ts-autotag with default configuration
  2. Open snacks.nvim grep picker (e.g., Snacks.picker.grep())
  3. Type a search query quickly (e.g., "function")
  4. Observe that characters appear out of order (e.g., "fucntion" or "funtcion")

Environment

  • Neovim: v0.12.0-dev (nightly)
  • nvim-ts-autotag: latest
  • snacks.nvim: latest
  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions