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

允许在光标静止一段时间后,进行自动补全 #32

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

WuJunkai2004
Copy link
Contributor

允许在光标静止1.5秒后,调用api展示可能需要补全的内容

变量g:accept_just_now用于防止频繁调用。

在接受自动补全后,会被设置成2
但由于自动补全会更改光标位置,马上会被设置成1
此时用户的任何光标移动都会使其变为0,允许再次静止时补全

只有当光标位于本行末尾,或者本行无字符时,才能进行静止时补全

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

Successfully merging this pull request may close these issues.

1 participant