-
Notifications
You must be signed in to change notification settings - Fork 482
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version confirmation
- Confirm
Following prerequisites
- Confirm
Not a user config issue
- Confirm
Neovim version
NVIM v0.11.5 Build type: Release LuaJIT 2.1.1741730670
Operating system/version
Linux 6.6.80-29.tl4.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 24 21:16:21 CST 2025 x86_64 x86_64 x86_64 GNU/Linux
Terminal name/version
iTerm2 Build3.5.14
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
- 使用nix 的方式安装nvim/nvimdots,两者都用当前主干最新版本。
- 安装完毕后,进入nvim 等插件安装之后。
- 在终端 nvim 编辑一个文件,使用:wq 保存并退出,可能随机出现两种情况:
- 延迟一阵子,再回车,会报一个红色的 FAIL,然后退出了
- 直接卡死
补充1:这个情况在ssh后提供的tty或vscode/cursor的终端都会出现,但是如果使用tmux再启动nvim,此问题不出现。
补充 2:如果使用:w 再 :q,一切又正常。 如果使用:noa wq,一切也正常。就是不能直接:wq
补充 3:虽然:wq卡死了,但是经查看,文件已经正常回写了。
AI 分析了一大波,有怀疑format_on_save的,有怀疑vim_notify的,有怀疑LSP的,但尝试过多种修复均失败。请教一下大佬们。
Expected behavior
能正常退出并且不报错。
Actual behavior
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working