Thank you Gary

You are right. The problem was the if exists() ... at the start of the file
that prevent reloading
of the file. removing it solved the problem.

best
Mostafa


On Fri, Aug 13, 2010 at 7:24 PM, Gary Johnson <[email protected]> wrote:

> On 2010-08-13, Mostafa S.Ari wrote:
> > I have written a script that some options could be set from a separate
> option
> > file. It seems the source command
> > only work when the vim start because when I change that option file and
> source
> > that again the changes doesn't
> > have any effect. Should I use any other command instead of source?
>
> The source command should work.  You haven't provided enough
> information for us to know what might be the problem, though.
> Perhaps you could post your option file, show us the command that
> appears to not be working, and explain exactly how it appears to not
> be working.  What behavior do you expect and what behavior are you
> seeing instead?
>
> Regards,
> Gary
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to