We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e2e80a + 193549d commit 0275a85Copy full SHA for 0275a85
autoload/mergetool.vim
@@ -315,13 +315,13 @@ endfunction
315
316
" Tells if file has conflict markers
317
function! s:has_conflict_markers()
318
- return search(s:markers['ours']) != 0 &&
319
- \ search(s:markers['theirs']) != 0 &&
320
- \ search(s:markers['delimiter']) != 0
+ return search(s:markers['ours'], 'w') != 0 &&
+ \ search(s:markers['theirs'], 'w') != 0 &&
+ \ search(s:markers['delimiter'], 'w') != 0
321
endfunction
322
323
function s:has_conflict_markers_in_diff3_style()
324
- return search(s:markers['base']) != 0
+ return search(s:markers['base'],'w') != 0
325
326
327
" Discard all changes in buffer, and fill it with original merged file contents
0 commit comments