We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5943faa commit 5c3213aCopy full SHA for 5c3213a
1 file changed
ftplugin/ruby.vim
@@ -83,7 +83,9 @@ function! s:query_path(root)
83
let cwd = getcwd()
84
try
85
exe cd fnameescape(a:root)
86
- return split(system(path_check),',')
+ let path = split(system(path_check),',')
87
+ exe cd fnameescape(cwd)
88
+ return path
89
finally
90
exe cd fnameescape(cwd)
91
endtry
0 commit comments