Skip to content

Commit 3338be5

Browse files
Do not add status to files in argument list.
1 parent 9785019 commit 3338be5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/dirvish_git.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ function! dirvish_git#init() abort
4242
let l:them = l:data[2]
4343
let l:file = l:data[3]
4444

45+
if index(argv(), l:file) > -1
46+
continue
47+
endif
48+
4549
if isdirectory(l:file)
4650
let l:file = fnamemodify(l:file, ':p')
4751
let l:file_name = substitute(l:file, l:current_dir, '', 'g')

0 commit comments

Comments
 (0)