summaryrefslogtreecommitdiffstats
path: root/ftplugin/ruby.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-10-24 13:15:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-10-24 13:15:38 +0200
commita39c9013ccca8ec0c12d849d12cbf1890df61062 (patch)
treedbc1a2544c475ee8a9b9404bb83563ae95bb0900 /ftplugin/ruby.vim
parent25d2786cae095350d504d326346e3df6620ca9bf (diff)
downloadvim-polyglot-2.2.4.tar.gz
vim-polyglot-2.2.4.zip
Update ruby syntaxv2.2.4
Diffstat (limited to 'ftplugin/ruby.vim')
-rw-r--r--ftplugin/ruby.vim2
1 files changed, 1 insertions, 1 deletions
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