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

无法触发补全的场景 #14

Closed
rainzm opened this issue Oct 8, 2023 · 3 comments
Closed

无法触发补全的场景 #14

rainzm opened this issue Oct 8, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@rainzm
Copy link
Contributor

rainzm commented Oct 8, 2023

我遇到一个很奇怪的无法工作的场景,能够稳定复现。

iShot_2023-10-08_23.30.48.mp4
@wlh320 wlh320 added the bug Something isn't working label Oct 8, 2023
@wlh320
Copy link
Owner

wlh320 commented Oct 8, 2023

是的,这个我也遇到过,但是触发条件没有试出来。最近会比较忙,等过段时间我有空的时候我会再详细检查一下。

@rainzm rainzm changed the title 奇怪的无法工作的场景 无法触发补全的场景 Oct 8, 2023
@wlh320 wlh320 closed this as completed in 279d384 Oct 10, 2023
@wlh320 wlh320 reopened this Oct 10, 2023
@wlh320
Copy link
Owner

wlh320 commented Oct 10, 2023

检查出来问题了,是我对用的 ropey 库的一个 as_str() 的接口的功能理解错了,导致了提前返回 null,使 LSP client 不再对后续内容做补全。我认为应该解决问题了,你再试试看

@rainzm
Copy link
Contributor Author

rainzm commented Oct 10, 2023

@wlh320 太棒了👍 我试了一下 确实没有问题了~ 谢谢~

@rainzm rainzm closed this as completed Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants