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

@recording messages not showing #211

Closed
lostl1ght opened this issue Nov 10, 2022 · 3 comments · Fixed by #639
Closed

@recording messages not showing #211

lostl1ght opened this issue Nov 10, 2022 · 3 comments · Fixed by #639
Labels
bug Something isn't working

Comments

@lostl1ght
Copy link

Describe the bug
After fb0e3b0 showing @recording messages is not working with both recipes from wiki, the macro itself is getting recorded.

Which version of Neovim are you using?

  • OS: pop!_os
  • Terminal: alacritty with tmux
  • Neovim: latest nightly
NVIM v0.9.0-dev-284+g0faf007a2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az105-324

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info

To Reproduce
Steps to reproduce the behavior:

  1. Press qa
  2. Observe that lualine component is not showing and a notification is cleared too early

Expected Behavior
Statusline component should be shown and the notification should not be cleared too early.

Screenshots
Not applicable.

Noice Log
No errors are printed.

Minimal configuration

Config
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
  require('packer').startup({
    {
      { 'wbthomason/packer.nvim' },
      { 'rebelot/kanagawa.nvim' },
      { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' },
      {
        'folke/noice.nvim',
        requires = { 'MunifTanjim/nui.nvim' },
        --  commit = '0fe5a1ea053ee086327eab386594c5f2e7f15e77', -- <-- previous commit works
      },
      { 'nvim-lualine/lualine.nvim' },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
      display = { non_interactive = true },
    },
  })
end
_G.load_config = function()
  vim.opt.termguicolors = true
  vim.cmd([[colorscheme kanagawa]])
  require('nvim-treesitter.configs').setup({})
  require('noice').setup({
    routes = {
      {
        view = 'mini',
        filter = { event = 'msg_showmode' },
      },
    },
  })
  require('lualine').setup({
    sections = {
      lualine_x = {
        {
          require('noice').api.statusline.mode.get,
          cond = require('noice').api.statusline.mode.has,
          color = { fg = '#ff9e64' },
        },
      },
    },
  })
end
if vim.fn.isdirectory(install_path) == 0 then
  print('Installing dependencies.')
  vim.fn.system({
    'git',
    'clone',
    '--depth=1',
    'https://github.com/wbthomason/packer.nvim',
    install_path,
  })
end
load_plugins()
require('packer').sync()
vim.cmd([[autocmd User PackerComplete ++once lua print('Ready'); load_config()]])
@lostl1ght lostl1ght added the bug Something isn't working label Nov 10, 2022
@folke folke closed this as completed in e5092c2 Nov 10, 2022
@folke
Copy link
Owner

folke commented Nov 10, 2022

Fixed. Thank you for reporting!

@lostl1ght
Copy link
Author

I can confirm that the bug is fixed. Thank you!

@Thanatermesis
Copy link

I'm having actually this issue

Looking at the commit that fixed it, I have this setting: messages -> view_history -> "messages", but I even commenting all the settings, when I press "qa" doesn't shows any message about the recording started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants