I got it working by adding double quotes around the path, as can be seen in the "let" line of the function below.
function! vimclojure#AddCompletions(ns) let completions = split(globpath("\"" . &rtp, "ftplugin/clojure/completions-" . a:ns . ".txt\""), '\n') if completions != [] call vimclojure#AddPathToOption('k' . completions[0], 'complete') endif endfunction On Fri, Jan 2, 2009 at 10:58 AM, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi Justin, > > Am 02.01.2009 um 17:00 schrieb Justin Johnson: > > E539: Illegal character <F>: complete+=kC:\Program\ >> Files\Vim\vimfiles\ftplugin\clojure\completions-clojure.core.txt >> > > The problem is the space in "Program Files". I'm > not sure, whether this can be fixed at all on my > side, or whether this is a Vim bug. I will investigate > on #vim tonight, whether this can be solved. > > Until then: > * Disable the code as you already mentioned. > * Or avoid whitespace in pathnames. > > These are the only workarounds I can think of > at the moment. Please stay tuned for an update. > > Sincerely > Meikel > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---