Rosemoe/sora-editor

autoClosingPairs and surroundingPairs not split

StarkZhidian opened this issue · 0 comments

Hi, @dingyi222666 , I found a problem about LanguageConfig surroundingPairs.

According to VS Code documents: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#autosurrounding

image

surroundingPairs field should be actived when selecting text and input the open symbol, then the close symbol should be auto completed. such as:

image

I config '<' and '>' symbol in surroundingPairs, and it not in autoClosingPairs, so it should not be actived when I just input '<' without selecting text.
But it was actived when I input '<' symbol:

image

Maybe there is something was wrong.

Thank you.