When using typescript-language-server, in content Math.ab|, if you type <C-X><C-o> for omni completion, it will be completed with s. Then, the content will become Math.abs|. If you continue type (, the ( will be removed. Also, if type <CR>, a new line will be added, resulting in Math.abs|s\nMath.ab. This patch attempts to fix this issue.
When using typescript-language-server, in content
Math.ab|
, if you type<C-X><C-o>
for omni completion, it will be completed withs
. Then, the content will becomeMath.abs|
. If you continue type(
, the(
will be removed. Also, if type<CR>
, a new line will be added, resulting inMath.abs|s\nMath.ab
. This patch attempts to fix this issue.