fix(nvim): set cmdheight=0 to fix noice cmdline flickering

noice.nvim takes over cmdline rendering; keeping cmdheight=1 causes
native and noice popup to compete, producing flicker on :wq etc.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-04-20 18:00:59 +08:00
parent 0cd1eb20ad
commit 26c6173a9c

View File

@@ -11,7 +11,7 @@ opt.cursorline = true -- 高亮当前行
opt.signcolumn = "yes" -- 始终显示标记列(避免每次出现符号时布局跳动)
opt.showmode = false -- 不显示模式,由状态栏插件替代
opt.laststatus = 3 -- 全局状态栏
opt.cmdheight = 1 -- 命令行高度
opt.cmdheight = 0 -- 命令行高度noice.nvim 接管,设为 0 消除闪烁)
opt.scrolloff = 10 -- 光标上下保留的行数
opt.sidescrolloff = 10 -- 光标左右保留的列数
opt.wrap = false -- 不自动换行