kaiwood/vscode-endwise

causes vscodevim to fail to record newlines in macros

Opened this issue · 0 comments

To Reproduce

  1. Install extension vim and endwise.
  2. New file. Select language mode Ruby
  3. Type qai<CR><Esc>q (where is the Enter key and is the Esc key)
  4. Type :reg a and see that the register contains i<Esc>

Expected behavior
Expected register to contain a newline. If you repeat above steps but instead pick Plain Text or even C as the language, then the register will contain i\n<Esc>. Alternatively, if you disable the endwise extension and reload VSCode, the macro will record the newline correctly. (So I assume it's endwise specifically that is doing something weird to the vim extension.)

Environment

  • OS Version: Darwin arm64 21.2.0
  • VS Code version: 1.64.2

Vim:

  • Extension Name: vim
  • Extension Version: 1.22.1

Endwise

  • Extension Name: endwise
  • Extension Version: 1.5.1