Browse files

I *hate* 'autochdir'

  • Loading branch information...
1 parent d5d3a88 commit 03dcaca06cfbed57197c2a56409dd1dee371a601 @tpope committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/pickler.vim
View
2 plugin/pickler.vim
@@ -18,7 +18,7 @@ endfunction
augroup pickler
autocmd!
autocmd BufRead *.git/COMMIT_EDITMSG
- \ if filereadable(substitute(expand('<afile>'),'\.git.\w\+$','features/tracker.yml','')) |
+ \ if filereadable(substitute(expand('<afile>:p'),'\.git.\w\+$','features/tracker.yml','')) |
\ setlocal omnifunc=pickler#omnifunc |
\ endif
augroup END

2 comments on commit 03dcaca

@rocknrollMarc

Hey pope were do I but this file ? as the install script doesnt work for me

@tpope
Owner

Just in ~/.vim/plugin. You can also install with pathogen or any plugin manager.

Please sign in to comment.