Permalink
Browse files

Relative path to autocompleter

  • Loading branch information...
1 parent f0d3aef commit c2ce82065a1077c331341426525744810b97a608 @MasseR MasseR committed Jul 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/erlangcomplete.vim
@@ -11,7 +11,7 @@
let s:erlangLocalFuncBeg = '\(\<[0-9A-Za-z_-]*\|\s*\)$'
let s:erlangExternalFuncBeg = '\<[0-9A-Za-z_-]\+:[0-9A-Za-z_-]*$'
let s:ErlangBlankLine = '^\s*\(%.*\)\?$'
-let s:erlangCompletionPath = '~/.vim/autoload/erlang_completion.erl'
+let s:erlangCompletionPath = expand('<sfile>:p:h') . '/erlang_completion.erl'
if !exists('g:erlangCompletionGrep')
let g:erlangCompletionGrep = 'grep'

0 comments on commit c2ce820

Please sign in to comment.