Mercurial > vim-lawrencium
diff plugin/lawrencium.vim @ 104:518a6b2eff56
Simpler looking repo paths.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 15 Aug 2014 16:52:49 -0700 |
parents | bc6003e7159e |
children | fc5ffa4614b4 |
line wrap: on
line diff
--- a/plugin/lawrencium.vim Tue Aug 05 17:12:22 2014 -0700 +++ b/plugin/lawrencium.vim Fri Aug 15 16:52:49 2014 -0700 @@ -131,7 +131,7 @@ let l:previous_path = "" while l:path != l:previous_path if isdirectory(l:path . '/.hg/store') - return simplify(fnamemodify(l:path, ':p')) + return s:normalizepath(simplify(fnamemodify(l:path, ':p'))) endif let l:previous_path = l:path let l:path = fnamemodify(l:path, ':h')