Чтв, 19 Авг 2010, Mostafa S.Ari писал(а): > Thank you Sven > > this is a vim script file and the message is > E15 Invalid Expression ""^M > I search it with /^M but I cant find any pattern. > I source it in another file that when vim start it load and vim at start > time give this errors > I have attached the file > > On Thu, Aug 19, 2010 at 12:21 PM, Sven Guckes <guc...@guckes.net> wrote: > > [---=| TOFU protection by t-prot: 44 lines snipped |=---]
That is a dos format file. Newer vim can automatically detect and set ff=dos for it so that you won't see ^M. Try vim -U NONE -u NONE yourfile BTW please do not top-post. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- 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