Extra tag when applying tag in Vim surround commands
Describe the bug When I select and apply HTML tag it adds an extra closing tag to the opening tag or it doesn't close opening tag properly
To Reproduce Steps to reproduce the behavior:
Case 1
- Select some text visually or the whole line by
yss, press S and apply a tag - outcome is `
selected text
Case 2:
- Select some text visually or line by
yssand enter the tag but instead of closing tag press Enter - outcome is: `<tagSelected text
Expected behavior It should normally surround the selected text with a HTML tag
Screenshots

Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.17.1
- VSCode version: 1.50.1
- OS: Windows 10 build 20246.re_release.201024-2009
Additional context Add any other context about the problem here.
Having same issue here. I think VsCode is auto completing the opening tag at the same time the vim extension surround command is wrapping the text, creating the duplicate closing tag. Haven't figured out how to make it not do that without losing tag autocomplete altogether.... Current workaround is just to hit 'u' to undo the extra autocompleted tag.
Same problem here.
I know it is not a solution to this problem but it is how I escaped it. I started using VSC with Neovim extension and installed vim-surround plugin for Neovim and it works inside VSC
Is there any solution yet? I have the same issue...
Seriously. Still no solution?
My solution was to change to neovim completely. Much faster, much better.
Thanks for the tip. And yes indeed, nice performance improvement!
I had the same problem, but I found it can be solved through executing u operation to make it back to normal
I had the same problem, but I found it can be solved through executing u operation to make it back to normal
Thanks for the quick fix!