I reinstalled Vim to C:\Vim and reinstalled VimClojure as well.  This time I
don't get the errors while opening a .clj file, but completion still is not
working.  Control-N completes things based on what's already in my file but
not using anything from Clojure.  Am I doing something wrong, or is it just
not working on Windows.

Justin

On Fri, Jan 2, 2009 at 1:22 PM, Justin Johnson <ajustinjohn...@gmail.com>wrote:

> It looks like my change below just got rid of the errors.  However the
> completion functionality is not working.  :(
>
>
> On Fri, Jan 2, 2009 at 1:13 PM, Justin Johnson 
> <ajustinjohn...@gmail.com>wrote:
>
>> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to