AstroNvim / astrocommunity

A community repository of common plugin specifications
GNU General Public License v3.0
1.04k stars 214 forks source link

Missing macro recoding status with nvchad statusline #1021

Closed emgi13 closed 1 month ago

emgi13 commented 1 month ago

Checklist

Neovim version (nvim -v)

0.10.0

Operating system/version

WSL2 Ubuntu 22.04

Terminal/GUI

Windows Terminal

Describe the bug

When using the new AstroNvim v4, I have installed the recipe heirline-nvchad-statusline, I've noticed that there is no macro recoding status.

Steps to Reproduce

  1. Install in a fresh environment using git clone https://github.com/AstroNvim/template ~/.config/astronvim_v4
  2. Edit community.lua and add { import = "astrocommunity.recipes.heirline-nvchad-statusline" }, to the table
  3. Launch using NVIM_APPNAME=astronvim_v4 nvim
  4. Begin recoding a macro using `qq``

Expected behavior

@q or Recording q to appear in the statusline

Screenshots

No response

Additional Context

No response

Minimal configuration

-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "runtime", "cache" } do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  -- stylua: ignore
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

-- install plugins
local plugins = {
  { "AstroNvim/AstroNvim", import = "astronvim.plugins" },
  { "AstroNvim/astrocommunity", { { import = "astrocommunity.recipes.heirline-nvchad-statusline" } } },

  -- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here (autocommands, vim.filetype, etc.)
mehalter commented 1 month ago

the nvchad statusline doesn't display the macro recording status. So this is basically by design and not a bug as it's supposed to be a clone of the NvChad statusline