From 7b78ce33327c3caee9a0933792b432bce5c6c885 Mon Sep 17 00:00:00 2001 From: hgigas <100573434+hgigas@users.noreply.github.com> Date: Fri, 13 Jan 2023 09:05:13 +0100 Subject: [PATCH] feat(commands): allow commands like `Lazy ... | ...` (#377) Set bar attribute: ``` -bar The command can be followed by a "|" and another command. ``` --- lua/lazy/view/commands.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/view/commands.lua b/lua/lazy/view/commands.lua index 4944e65..f1ab877 100644 --- a/lua/lazy/view/commands.lua +++ b/lua/lazy/view/commands.lua @@ -94,6 +94,7 @@ function M.setup() end M.cmd(prefix, opts) end, { + bar = true, bang = true, nargs = "?", desc = "Lazy",