Skip to content

fix(notify): remove INFO notifications that block cmdheight=0#447

Closed
barrettruth wants to merge 1 commit intowallpants:mainfrom
barrettruth:fix/cmdheight-notify
Closed

fix(notify): remove INFO notifications that block cmdheight=0#447
barrettruth wants to merge 1 commit intowallpants:mainfrom
barrettruth:fix/cmdheight-notify

Conversation

@barrettruth
Copy link

Problem

vim.notify at INFO level writes to the command line area. With cmdheight=0 there is no space for it, so Neovim forces a "Press ENTER" prompt on every :GithubPreviewStart and :GithubPreviewStop.

Solution

Remove the redundant "init" notification entirely (the browser opening is confirmation enough) and switch the "goodbye" notification to nvim_echo with history=false so it displays transiently without requiring command line space.

Problem: vim.notify at INFO level writes to the command line area.
With cmdheight=0 there is no space, so Neovim forces a "Press ENTER"
prompt on every :GithubPreviewStart and :GithubPreviewStop.

Solution: remove the redundant "init" notification entirely and
switch the "goodbye" notification to nvim_echo with history=false
so it displays transiently without requiring command line space.
@barrettruth barrettruth closed this by deleting the head repository Mar 3, 2026
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

Successfully merging this pull request may close these issues.

1 participant