Skip to content

Commit 232e56e

Browse files
authored
Add GTK support to browse dialog filtering (#19)
1 parent e3994c6 commit 232e56e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ftplugin/clojure.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ if exists('loaded_matchit')
6464
let b:undo_ftplugin .= ' | unlet! b:match_words b:match_skip'
6565
endif
6666

67-
" Win32 can filter files in the browse dialog
68-
if has("gui_win32") && !exists("b:browsefilter")
67+
" Filter files in the browse dialog
68+
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
6969
let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" .
7070
\ "ClojureScript Source Files (*.cljs)\t*.cljs\n" .
7171
\ "Java Source Files (*.java)\t*.java\n" .

0 commit comments

Comments
 (0)