mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
Add --no-pager to the log diff handler (#58)
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ function M.handle_log_diff()
|
||||
local revset = parser.get_rev_from_log_line(line)
|
||||
|
||||
if revset then
|
||||
local cmd = string.format("jj show %s", revset)
|
||||
local cmd = string.format("jj show --no-pager %s", revset)
|
||||
terminal.run_floating(cmd, require("jj.cmd").floating_keymaps())
|
||||
else
|
||||
utils.notify("No valid revision found in the log line", vim.log.levels.ERROR)
|
||||
|
||||
Reference in New Issue
Block a user