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

hello from a helix user #9

Open
AndyJado opened this issue Feb 22, 2023 · 3 comments
Open

hello from a helix user #9

AndyJado opened this issue Feb 22, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@AndyJado
Copy link

AndyJado commented Feb 22, 2023

helix用户也只需要在config里写几行就可以使用,这是我的配置

遇到的问题:

  1. 同时间只能有一个lsp工作。
  2. 敲完汉字需要空格或标点后才能触动补全。
@iamcco iamcco added the help wanted Extra attention is needed label Feb 26, 2023
@milanglacier
Copy link
Contributor

同时间只能有一个lsp工作应该是 helix 的架构设计问题?有的编辑器在设计 lsp 的时候就没考虑过多 lsp 同时工作的情形。这对于 neovim 就不是问题。

@wlh320
Copy link

wlh320 commented May 6, 2024

每次需要敲空格的原因应该是 helix 需要判断单词边界对补全项做 fuzzy search。而汉字不会被当作单词边界,比如 "汉字汉字汉字nihao" 会被当成一个完整的单词,因此 fuzzy search 会过滤掉所有的补全项。

一个可能的解决方案是在 filter_text 里面包含完整的单词,这样就能正常 fuzzy search 了。

btw, 现在 helix 也支持多个 lsp 一起工作了。所以上述两个问题应该都能解决了

@Freed-Wu
Copy link

Now helix support use steel (a kind of lisp) to write extension. Perhaps you can try transplant coc-rime (for coc.nvim) or rime.nvim (for neovim) to helix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants