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

The statusline will be hidden when cmdheight=0 with nvim_feedkeys #28801

Open
Shougo opened this issue May 17, 2024 · 1 comment
Open

The statusline will be hidden when cmdheight=0 with nvim_feedkeys #28801

Shougo opened this issue May 17, 2024 · 1 comment
Labels
bug issues reporting wrong behavior messages UI messages, log messages ui
Milestone

Comments

@Shougo
Copy link
Contributor

Shougo commented May 17, 2024

Problem

hrsh7th/nvim-cmp#1382
hrsh7th/nvim-cmp#1396

The statusline is disappear when cmdheight=0 with nvim_feedkeys.

Steps to reproduce

$ cat test.vim
set cmdheight=0
set laststatus=2

autocmd InsertEnter * call nvim_feedkeys(nvim_replace_termcodes('<Cmd>call v:lua.call()<CR>', v:true, v:false, v:true), 'n', v:true)

lua << END
_G.call = function()
end
END
$ nvim -u test.vim
  • Enter to the insert mode

Expected behavior

The statusline is shown

Neovim version (nvim -v)

v0.11.0-dev-4515+g06135cc21

Vim (not Nvim) behaves the same?

no

Operating system/version

Manjaro Linux

Terminal name/version

Alacritty 0.13.2

$TERM environment variable

alacritty

Installation

from repo

@Shougo Shougo added the bug issues reporting wrong behavior label May 17, 2024
@zeertzjq zeertzjq added ui messages UI messages, log messages labels May 17, 2024
@zeertzjq
Copy link
Member

Related #20673

@justinmk justinmk added this to the backlog milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior messages UI messages, log messages ui
Projects
None yet
Development

No branches or pull requests

3 participants