motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit bdab318cc6bc4690159a2eca0ab123bb9d1b3d85 (tree)
parent ea588a104c8370a5dbe29acd2b27f5cace86c2c3
Author: Tim Pope <code@tpope.net>
Date:   Mon,  2 Aug 2010 16:52:39 -0400

Fix setting of 'tags'

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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