Skip to content

Message specifications when saved have changed since #21580 #21653

@yutkat

Description

@yutkat

Neovim version (nvim -v)

v0.9.0-dev-1827+gae64772a8

Vim (not Nvim) behaves the same?

no

Operating system/version

Arch Linux

Terminal name/version

wezterm 20230102-155114-67896f67

$TERM environment variable

xterm-256color

Installation

build from repo

How to reproduce the issue

  1. use this init.lua
vim.cmd [[syntax enable]]
vim.cmd [[filetype plugin indent on]]

local install_path = vim.fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
if vim.fn.empty(vim.fn.glob(install_path)) == 1 then
  vim.api.nvim_command('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
end
vim.cmd [[packadd packer.nvim]]

local function load_plugins()
  return require('packer').startup(function()
    use {'wbthomason/packer.nvim', opt = true}
    use({
      "folke/noice.nvim",
      config = function()
        require("noice").setup({})
      end,
      requires = {
        "MunifTanjim/nui.nvim",
        "rcarriga/nvim-notify",
      }
    })
  end)
end
load_plugins()
  1. :PackerSync and :qa
  2. open nvim aaa.lua
  3. :w
  4. Normally, the file name of the saved file(aaa.lua) should be displayed, but < is displayed.

If this added condition is removed, it will be normal. https://github.com/neovim/neovim/pull/21580/files#diff-93eb182156bc96b7817704f1db2a233ebdaf3d90a93979e8bb9ae1d3f5e8757aR3844

&& p_ch > 0

Maybe it is a problem on the plugin side(noice.nvim), if so, I'm sorry.

Expected behavior

Saved file names are displayed correctly.
swappy-20230105-174251

Actual behavior

< is displayed
swappy-20230105-174313

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-regressionwrong behavior that was introduced in a previous commit (please bisect)has:bisectedissue has been tracked to a specific commituiui-extensibilityUI extensibility, events, protocol, externalized UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions