Skip to content

Output of diff -r is not folded properly #1

Description

@caetanosauer

When looking at the output of "diff -r", which shows the differences between directories recursively, files that only exist in one dir or the other appear like this:

Only in dir1: file1.txt
Only in dir2: file2.txt

To avoid them being hidden under other normal file folds, the following can be added to the function DiffFoldLevel()

 elseif l:line =~# '^Only in' " file only in one folder when using diff -r
    return '>1'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions