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

每次键入中文句号后紧接着键入小写字母y,会引发错误 #1065

Open
2 of 6 tasks
Kaiser-Yang opened this issue Apr 22, 2024 · 2 comments
Open
2 of 6 tasks

Comments

@Kaiser-Yang
Copy link

Kaiser-Yang commented Apr 22, 2024

  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version:
  • Output of :echo has("python"): 0
  • Output of :echo has("python3"): 1
  • Output of :echo &pythondll(only vim, not neovim):
  • Output of :echo &pythonthreedll(only vim, not neovim):
  • Output of :py print(sys.version):
  • Output of :py3 print(sys.version): 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0]
  • Output of :echo g:Lf_Debug_Cmd:
  • Output of :echo g:Lf_FilesFromCache:
  • Operating system:
    • Linux(WSL2)
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:
    image

image

如果需要涉及完整的配置文件:leader_config.vim.vimrc

Describe your question, feature request, or bug.

Steps to reproduce

启动vim,启动leaderf,输入中文句号,输入y。

Actual behaviour

image

如果我在提示了错误之后按回车继续,此时我的界面就会卡住:
image

我只能通过:q退出vim(我绑定的快捷键也失灵了,因为我绑定了Q进行退出,但是此时按下Q进入了exmode,我只能通过:q的方式退出),退出vim之后我的cursor也不在终端显示:
image

Expected behaviour

能够正常查找。

@Kaiser-Yang
Copy link
Author

刚刚进行了测试输入中文句号后,可以键入其他字母,但只要输入y就会出现相同的错误,例如我输入。abc,此时一切正常,但当我输入y,便产生了同样的报错信息。

@Yggdroot
Copy link
Owner

复现了,看来句号有点特殊。卡住用ctrl-c可以关掉。

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