VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.81k stars 1.31k forks source link

Autocomplete two closing brackets #8748

Open entr0pia opened 10 months ago

entr0pia commented 10 months ago

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):

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

cyan0714 commented 8 months ago

I have the same question, did you solve it ?

lhs-12 commented 5 months ago

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

Takohubuki commented 3 months ago

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.

lhs-12 commented 3 months ago

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.