Skip to content

(LaTeX) Inline math via $...$ is not % bounced correctly when syntax is disabled. #402

@gi1242

Description

@gi1242
  1. Open any LaTeX file.
  2. Disable syntax syn off (this happens by default if the treesitter parser is installed)
  3. Move the cursor to any $ and press %. The cursor goes to the previous $, irrespective of whether or not this is the beginning or end of the region.
  4. Expected behavior: $ should go to the next $ at the start of regions, and the previous $ at the end of regions.

Vim Version

NVIM v0.11.3
Build type: RelWithDebInfo
LuaJIT 2.1.1748459687```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions