diff options
Diffstat (limited to 'ftplugin/clojure.vim')
-rw-r--r-- | ftplugin/clojure.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/clojure.vim b/ftplugin/clojure.vim index 2c2882e3..7fe81f9d 100644 --- a/ftplugin/clojure.vim +++ b/ftplugin/clojure.vim @@ -68,8 +68,8 @@ if exists('loaded_matchit') let b:undo_ftplugin .= ' | unlet! b:match_words b:match_skip' endif -" Win32 can filter files in the browse dialog -if has("gui_win32") && !exists("b:browsefilter") +" Filter files in the browse dialog +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" . \ "ClojureScript Source Files (*.cljs)\t*.cljs\n" . \ "Java Source Files (*.java)\t*.java\n" . |