From bdab318cc6bc4690159a2eca0ab123bb9d1b3d85 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 2 Aug 2010 16:52:39 -0400 Subject: [PATCH] Fix setting of 'tags' --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 31fab3e..5c82a86 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -137,7 +137,7 @@ function! s:Detect(path) call buffer.setvar('&path',s:sub(buffer.getvar('&path'),'^\.%(,|$)','')) endif if b:git_dir !~# ',' && stridx(buffer.getvar('&tags'),b:git_dir) == -1 - call buffer.setvar('&tags',buffer.getvar('&tags').','.b:git_dir) + call buffer.setvar('&tags',buffer.getvar('&tags').','.b:git_dir.'/tags') endif endif endfunction