comparison plugin/lawrencium.vim @ 62:136be8fa8710

Disable folds in diff summaries.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 23 Nov 2012 13:44:14 -0800
parents ea794e48d4e2
children 02a1be804fe8
comparison
equal deleted inserted replaced
61:ea794e48d4e2 62:136be8fa8710
1458 if l:comps['path'] != '' && l:comps['path'] != '.' 1458 if l:comps['path'] != '' && l:comps['path'] != '.'
1459 call add(l:diffargs, l:full_path) 1459 call add(l:diffargs, l:full_path)
1460 endif 1460 endif
1461 call l:repo.ReadCommandOutput('diff', l:diffargs) 1461 call l:repo.ReadCommandOutput('diff', l:diffargs)
1462 setlocal filetype=diff 1462 setlocal filetype=diff
1463 setlocal nofoldenable
1463 elseif l:comps['action'] == 'annotate' 1464 elseif l:comps['action'] == 'annotate'
1464 " Annotate file 1465 " Annotate file
1465 call l:repo.ReadCommandOutput('annotate', '-c', '-n', '-u', '-d', '-q', l:full_path) 1466 call l:repo.ReadCommandOutput('annotate', '-c', '-n', '-u', '-d', '-q', l:full_path)
1466 endif 1467 endif
1467 1468