Permalink
Browse files

fixed changing current directory after closing

  • Loading branch information...
1 parent 1906606 commit f1992c3eec9cd57e96f5de0cb15b0c3f6d114ded @jgallen23 committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/extradite.vim
View
@@ -58,7 +58,7 @@ function! s:Extradite(bang) abort
let b:git_tree_dir = fugitive#buffer().repo().tree()
execute b:cd.' '.b:git_tree_dir
autocmd BufEnter <buffer> exe b:cd.' '.b:git_tree_dir
- autocmd BufLeave <buffer> exe b:cd.' '.getbufvar('<afile>','stashed_dir')
+ "autocmd BufLeave <buffer> exe b:cd.' '.getbufvar('<afile>','stashed_dir')
autocmd BufEnter <buffer> call s:ExtraditeSyntax()
autocmd BufLeave <buffer> hi! link CursorLine NONE
autocmd BufLeave <buffer> hi! link Cursor NONE

0 comments on commit f1992c3

Please sign in to comment.