# HG changeset patch # User Ludovic Chabant # Date 1345008592 25200 # Node ID 95f8e7cb5ca2f40e995d87ed7074bab45f25c955 # Parent fc20a265551dc0fe246af904f4807e6dcd54083e Stop fucking with my brain, Python. diff -r fc20a265551d -r 95f8e7cb5ca2 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Tue Aug 14 22:26:59 2012 -0700 +++ b/plugin/lawrencium.vim Tue Aug 14 22:29:52 2012 -0700 @@ -261,13 +261,13 @@ function! s:Hg(bang, ...) abort let l:repo = s:hg_repo() - if g:lawrencium_auto_cd: + if g:lawrencium_auto_cd " Temporary set the current directory to the root of the repo " to make auto-completed paths work magically. execute 'cd! ' . l:repo.root_dir endif let l:output = call(l:repo.RunCommand, a:000, l:repo) - if g:lawrencium_auto_cd: + if g:lawrencium_auto_cd execute 'cd! -' endif if a:bang