Skip to content

Commit 79b5072

Browse files
committed
Set browsefilter for gui_gtk
Support for GTK was added in 7.3.592.
1 parent 3b3077b commit 79b5072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftplugin/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val.
136136
let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
137137
endif
138138

139-
if has("gui_win32") && !exists("b:browsefilter")
139+
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
140140
let b:browsefilter = "Ruby Source Files (*.rb)\t*.rb\n" .
141141
\ "All Files (*.*)\t*.*\n"
142142
endif

0 commit comments

Comments
 (0)