Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js自动补全完成后,光标会移动到其他位置 #2204

Closed
Joltik opened this issue Jul 23, 2020 · 2 comments
Closed

js自动补全完成后,光标会移动到其他位置 #2204

Joltik opened this issue Jul 23, 2020 · 2 comments

Comments

@Joltik
Copy link

Joltik commented Jul 23, 2020

使用版本是最新的版本

复现方式

创建一个test.js文件

class Test extends React.Component {
  render() {
  	return <View></View>;
  }
}

export default Setting;

render下输入const {view} 补全view,光标位置会移动到上一行

录屏

elfgp-37kdv

@chemzqm
Copy link
Member

chemzqm commented Jul 23, 2020

Try minimal vimrc.

@chemzqm chemzqm closed this as completed Jul 23, 2020
@Joltik
Copy link
Author

Joltik commented Jul 24, 2020

找到了原因了,是auto-pairs这个插件的bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants