Tony Mechelynck wrote:
> I had several scripts in UTF-8 with BOM in ~/.vim/**/*.vim. Until now
> they were sourced with no problem. Now (I believe as a result of patch
> 100) they give an error: "E492: Not an editor command: <feff>" followed
> by whatever was on the first line.
>
> Temporary solution:
>
> :args ~/.vim/**/*.vim
> :argdo setlocal nobomb
I can reproduce the problem when 'encoding' is "utf-8". That means no
conversion is taking place and the BOM isn't removed. I'll make a fix.
--
hundred-and-one symptoms of being an internet addict:
49. You never have to deal with busy signals when calling your ISP...because
you never log off.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---