From f653f18e64d46badcee00186cf550a94a3ced708 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 25 Jan 2013 11:22:10 -0500 Subject: [PATCH] Fix gf when file hasn't been required yet Closes #44. --- plugin/foreplay.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/foreplay.vim b/plugin/foreplay.vim index e63118f..be993e6 100644 --- a/plugin/foreplay.vim +++ b/plugin/foreplay.vim @@ -739,7 +739,7 @@ function! s:decode_url(url) abort endfunction function! foreplay#source(symbol) abort - let options = {'client': foreplay#local_client()} + let options = {'client': foreplay#local_client(), 'session': 0} let cmd = \ '(when-let [v (resolve ' . s:qsym(a:symbol) .')]' . \ ' (when-let [filepath (:file (meta v))]' . @@ -795,7 +795,7 @@ augroup END " Go to file {{{1 function! foreplay#findfile(path) abort - let options = {'client': foreplay#local_client(), 'ns': foreplay#ns(), 'session': 0} + let options = {'client': foreplay#local_client(), 'session': 0} let cmd = \ '(symbol' .