79547212

Date: 2025-03-31 20:31:55
Score: 1.5
Natty:
Report link

As KamilCuk suggested, I needed to define the command Test. Defining the command in the Lazy configuration solved the issue:

return {
    name = "test",
    cmd = "Test",
    dir = "~/.config/nvim/lua/plugins-my/test.nvim",
    config = function()
        vim.api.nvim_create_user_command("Test", 'echo "Test plugin loaded"', {})
        local wk = require("which-key")
        wk.register(map_test)
    end,
}

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mimosinnet