Skip to content

Commit b54a4d6

Browse files
committed
Set a more useful 'browsefilter' for GVim
1 parent 6c70003 commit b54a4d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ftplugin/clojure.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ endif
6666

6767
" Filter files in the browse dialog
6868
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
69-
let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" .
70-
\ "ClojureScript Source Files (*.cljs)\t*.cljs\n" .
71-
\ "Java Source Files (*.java)\t*.java\n" .
72-
\ "All Files (*.*)\t*.*\n"
69+
let b:browsefilter = "All Files\t*\n" .
70+
\ "Clojure Files\t*.clj;*.cljc;*.cljs;*.cljx\n" .
71+
\ "EDN Files\t*.edn\n" .
72+
\ "Java Files\t*.java\n"
7373
let b:undo_ftplugin .= ' | unlet! b:browsefilter'
7474
endif
7575

0 commit comments

Comments
 (0)