I use the following command very often Codediff file {file1} {file2}. The issue is the command line tab completion for file1 does not work but it does work for file2. Looking at the following snippet I think I can see why:
|
app:subcommand(ap.Command.new("file"):arg(Arg.new("a"):completor(complete_revisions)):arg(Arg.new("b"):completor(complete_files)):handler(function(m) |
It looks like argument a gets completions for revisions while b gets files. This is likely because of the Codediff file {rev} version of the command. I wonder if argument a can get both forms of completion? It just feels awkward when you only get completions for half the command when comparing two file paths.
I use the following command very often
Codediff file {file1} {file2}. The issue is the command line tab completion for file1 does not work but it does work for file2. Looking at the following snippet I think I can see why:codediff.nvim/lua/codediff/commands/init.lua
Line 183 in 4b3ad7e
It looks like argument
agets completions for revisions whilebgets files. This is likely because of theCodediff file {rev}version of the command. I wonder if argumentacan get both forms of completion? It just feels awkward when you only get completions for half the command when comparing two file paths.