On Jun 4, 2013 5:34 PM, "Christian Wellenbrock" < [email protected]> wrote: > > On Tuesday, June 4, 2013 3:12:20 PM UTC+2, Kazunobu Kuriyama wrote: > > Hi, > > > > > > > > I'm the maintainer of the Objective-C syntax file, syntax/objc.vim. As the new features that have been added to the language for years appear to become stable and have passed the point of no return (really?), I'm now thinking of revising the syntax file completely for the sake of the "Modern" Objective-C, featuring declared properties, fast enumeration, blocks, literal syntax, ARC, and some stuff around them. > > > > > > > > Attached is a draft for a new version. I would appreciate to it if some of you would kindly review it and give me some feedback to brush it up. > > > > > > > > With best regards, > > > > KK > > I just tried opening an Objective-C file with your syntax file and got the following errors: > > "AdjustIo.h" 81L, 2743C > Error detected while processing /usr/share/vim/vim73/syntax/objc.vim: > line 6: > E492: Not an editor command: ^M > line 8: > E15: Invalid expression: exists("b:current_syntax")^M > line 107: > E488: Trailing characters > line 110: > E171: Missing :endif > Press ENTER or type command to continue > > What am I doing wrong?
You are trying to open file with CRLF (Windows) line endings on *nix (linux or Mac OS). It is not you, but sender who is doing wrong. > -- > -- > You received this message from the "vim_dev" 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 because you are subscribed to the Google Groups "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message from the "vim_dev" 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 because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
