mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 23:53:18 +00:00
feat(diff): Add options to diff command to allow diffing only current buffer
This commit is contained in:
@@ -44,6 +44,7 @@ local function get_files()
|
||||
local change, file_path = line:match("^(%a)%s(.+)$")
|
||||
|
||||
table.insert(files, {
|
||||
text = file_path,
|
||||
file = file_path,
|
||||
change = change,
|
||||
diff_cmd = string.format("jj diff %s", file_path),
|
||||
|
||||
Reference in New Issue
Block a user