Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Autocomplete two closing brackets

Open entr0pia opened this issue 1 year ago • 4 comments

Describe the bug With Microsoft Pinyin input method on Window 10 (or use Old version on Windows 11), when typing an opening bracket (, two closing brackets )) are automatically completed. Square brackets, curly brackets, and sometimes quotation marks also have the same bug.

To Reproduce Steps to reproduce the behavior:

  1. With Microsoft Pinyin input method on Window 10 (or use Old version on Windows 11)
  2. Use English punctuation when inputting Chinese
  3. Switch to Chinese mode
  4. Type an opening bracket at INSERT mode of vim
  5. See error

Expected behavior Automatically completed only one closing brackets

Screenshots bug

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.6.2 to v1.27.1, at least
  • VSCode version: 1.84.2 (user setup)
  • OS: Windows 11 23H2, Windows 10 21H2

Additional context I tested and reproduced it with only the vim plugin enabled.

entr0pia avatar Nov 23 '23 13:11 entr0pia

I have the same question, did you solve it ?

cyan0714 avatar Jan 08 '24 09:01 cyan0714

Same problem. I'm using the RIME input method, even when the input mode is set to English, this problem will still be triggered.

lhs-12 avatar Apr 09 '24 07:04 lhs-12

Same problem. I'm using the RIME input method, even when the input mode is set to English, this problem will still be triggered.

same problem, guess its about RIME. 'cause it won't happen when using microsoft IME.

Takohubuki avatar Jun 11 '24 08:06 Takohubuki

Same problem. I'm using the RIME input method, even when the input mode is set to English, this problem will still be triggered.

same problem, guess its about RIME. 'cause it won't happen when using microsoft IME.

I don't think so. I still use Rime input method and didn't change the configuration, but the problem disappeared one day, and my VsCode Vim doesn't have this problem now.

lhs-12 avatar Jun 12 '24 03:06 lhs-12