Mercurial > vim-lawrencium
view ftplugin/hglog.vim @ 150:7aa118f73e8c
Improve support for moved files in diff commands.
Now we only check for moved files if we get an empty diff/cat output from
the normal codepath. We also do that for both sides of a diff, and for
the diff-summary commands.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 10 Oct 2020 09:30:27 -0700 |
parents | ec0368535216 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: hg log output " Maintainer: Ludovic Chabant <ludovic@chabant.com> if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setlocal cole< cocu<" if has("conceal") setlocal cole=2 cocu=nc endif let &cpo = s:cpo_save unlet s:cpo_save