From a39c9013ccca8ec0c12d849d12cbf1890df61062 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 24 Oct 2015 13:15:38 +0200 Subject: Update ruby syntax --- ftplugin/ruby.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/ruby.vim') diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index e5c984fc..0eb32b66 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -138,7 +138,7 @@ if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val. let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',') endif -if has("gui_win32") && !exists("b:browsefilter") +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") let b:browsefilter = "Ruby Source Files (*.rb)\t*.rb\n" . \ "All Files (*.*)\t*.*\n" endif -- cgit v1.2.3