mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
Add --no-pager for jj log
This allows long lists of revisions to be viewable instead of being truncated.
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ function M.log(opts)
|
|||||||
vim.api.nvim_buf_clear_namespace(terminal.state.buf, log_special_mode_target_ns_id, 0, -1)
|
vim.api.nvim_buf_clear_namespace(terminal.state.buf, log_special_mode_target_ns_id, 0, -1)
|
||||||
end
|
end
|
||||||
|
|
||||||
local jj_cmd = "jj log"
|
local jj_cmd = "jj log --no-pager"
|
||||||
local merged_opts = vim.tbl_extend("force", default_log_opts, opts or {})
|
local merged_opts = vim.tbl_extend("force", default_log_opts, opts or {})
|
||||||
|
|
||||||
-- If a raw has been given simply execute it as is
|
-- If a raw has been given simply execute it as is
|
||||||
|
|||||||
Reference in New Issue
Block a user