Skip to content

Commit

Permalink
Fixed completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcomets committed Aug 18, 2013
1 parent 93adb6a commit 07bb338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/pony.vim
Expand Up @@ -67,7 +67,7 @@ function! s:DjangoGoToComplete(ArgLead, CmdLine, CursorPos)
" files at "s:goto_complete_dict[s:filename]"
let l:findcmd = "find */ -type f -name "
\ . shellescape(l:filename)
\ . " | grep -oE '^[^/]+'"
\ . " | sed 's/\\([^\\/]*\\)\\/" . escape(l:filename, './') . "/\\1/g'"
\ . " | grep " . shellescape(a:ArgLead)
let l:folders = system(l:findcmd)
return split(l:folders, "\n")
Expand Down

0 comments on commit 07bb338

Please sign in to comment.