Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79258f1

Browse files
authored
fix: window picker can't be correctly rendered when cmdheight = 0 (nvim-tree#1349)
Co-authored-by: litao <litao912002@hotmail.com>
1 parent104292c commit79258f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lua/nvim-tree/actions/open-file.lua‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ local function pick_window()
9999
end
100100

101101
vim.cmd"redraw"
102-
print"Pick window:"
102+
ifvim.opt.cmdheight._value~=0then
103+
print"Pick window:"
104+
end
103105
local_,resp=pcall(utils.get_user_input_char)
104106
resp= (respor""):upper()
105107
utils.clear_prompt()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp