Skip to content

[BUG] <BS> could not process multi-byte charcter #106

@SuniRein

Description

@SuniRein

Description

The current <Plus>MarkdownPlusListBackspace can only handle one-byte charcter. If the charcter is multi-byte, it will only delete the last byte.

Steps to Reproduce

  1. Use the default keymaps.
  2. Enter a multi-byte charcter, such as , whose utf8 code is %E3%80%82.
  3. Press <BS> in insert mode.

Expected Behavior

be deleted.

Image

Actual Behavior

Only the last byte was deleted. It become %E3%80.

Environment

  • Neovim version: 0.11.5
  • Plugin version: 7d0d052
  • OS: Linux

Additional Context

Any other information, screenshots, or error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions