Skip to content

Commit 024626f

Browse files
committed
Fix clobbering of global 'tags'
Closes vim-ruby#78.
1 parent 6648287 commit 024626f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if stridx(&l:path, s:ruby_path) == -1
9595
let &l:path = s:ruby_path
9696
endif
9797
if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val."/tags"'),',')) == -1
98-
let &l:tags .= ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
98+
let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
9999
endif
100100

101101
if has("gui_win32") && !exists("b:browsefilter")

0 commit comments

Comments
 (0)