mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
feat: :J desc short hand for describe (#12)
This commit is contained in:
+1
-1
@@ -912,7 +912,7 @@ function M.j(args)
|
||||
local cmd = string.format("jj %s", cmd_args)
|
||||
|
||||
-- Handle known subcommands with custom logic
|
||||
if subcommand == "describe" then
|
||||
if subcommand == "describe" or subcommand == "desc" then
|
||||
local description = table.concat(remaining_args, " ")
|
||||
M.describe(description ~= "" and description or nil)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user