Commits

Meikel Brandmeyer  committed 83edc5f

Use fnameescape to avoid with dictionary filenames

This change was requested by Bram for upstream inclusion.

  • Participants
  • Parent commits 1ce3024

Comments (0)

Files changed (1)

File ftplugin/clojure.vim

 " Vim filetype plugin file
 " Language:     Clojure
 " Maintainer:   Meikel Brandmeyer <mb@kotka.de>
-" Last Change:  2008 Aug 16
+" Last Change:  2008 Aug 19
 
 " Only do this when not done yet for this buffer
 if exists("b:did_ftplugin")
 
 let s:completions = split(globpath(&rtp, "ftplugin/clojure/completions"), '\n')
 if s:completions != []
-	execute "setlocal complete+=k" . s:completions[0]
+	execute "setlocal complete+=k" . fnameescape(s:completions[0])
 endif
 
 let &cpo = s:cpo_save