Skip to content

Dot repeat of insert with surrounds is missing brackets #301

Description

@drybalka

Checklist

  • Have you tried updating the plugin to the latest version?
  • Have you checked the Breaking Changes issue?
  • Have you read through :h nvim-surround to see if there might be any relevant information there?

Neovim Version

0.9.5

Plugin Version

Tagged (Stable)

Minimal Configuration

require("nvim-surround").setup()

Sample Buffer



Keystroke Sequence

iaaa <C-g>s{bbb<Esc>j.

Expected behavior

aaa { bbb }
aaa { bbb }

Actual behavior

aaa { bbb }
aaa bbb

Additional context

Somehow surround in insert mode is not saved for dot repeat.

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