Permalink
Browse files

Fix clobbering of global 'tags'

Closes #78.
  • Loading branch information...
1 parent 6648287 commit 024626f23aed672eeb3ec4c0e55822a3f5a5ac47 @tpope tpope committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftplugin/ruby.vim
View
@@ -95,7 +95,7 @@ if stridx(&l:path, s:ruby_path) == -1
let &l:path = s:ruby_path
endif
if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val."/tags"'),',')) == -1
- let &l:tags .= ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
+ let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
endif
if has("gui_win32") && !exists("b:browsefilter")

0 comments on commit 024626f

Please sign in to comment.