Skip to content

Bug: an infinite number of undo-able changes are created when adding a numbered list item #194

Description

@benelan

Bug report

OS type:

  • Unix
  • Windows
  • Other ([SPECIFY])

Vim:

  • vim
  • neovim
  • Other ([SPECIFY])

Vim version:

NVIM v0.10.0-dev-958+gb641fc387

Reproduce steps:

  1. Create a new file: nvim test.md
  2. Open Undotree if you have it (optional)
  3. Insert the following: 1. test
  4. Press escape
  5. Undo-able changes will be continuously created. It's a new file so there shouldn't be much undo history, however you can press u forever. If you have Undotree installed you can see the infinite number of undo-able changes being generated.

Expected:

I expect creating a numbered list item to not generate an infinite number of undo-able changes.

Actual:

An infinite number of undo-able changes are generated when creating a numbered list item.


Thanks for your work on this plugin! It seems really handy and I'd like to use it, but unfortunately this is a blocker since I rely heavily on my undo history.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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