On Tuesday, June 4, 2013 4:33:11 PM UTC+2, Christian Wellenbrock wrote:
> On Tuesday, June 4, 2013 4:27:49 PM UTC+2, David Fishburn wrote:
> 
> > ...>
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > > "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 can quickly work around this issue by opening the objc.vim in Vim.  
> > Anytime files are sent to Bram for inclusion they should be using the Unix 
> > fileformat (ff).
> 
> > 
> 
> > :e set ff=unix
> 
> > :wq
> 
> > 
> 
> > 
> 
> > Then start Vim again and try your test.
> 
> > 
> 
> > 
> 
> > 
> 
> > HTH,
> 
> > David
> 
> 
> 
> Thanks that worked. I attached the fixed unix version.

I quickly scrolled over some AFNetworking sources [1]. I like the highlighting 
of `YES`, `NO`, `@autoreleasepool` etc.

There are however at least two issues that can be seen in this screenshot [2]. 
On the left, the current objc.vim is shown, on the right your new one. The code 
can be found here [3].

1. I liked the blue `-` sign at the start of the method indicating an instance 
method.
2. It seems like a random set of braces and semicolons is highlighted red on 
the right.

[1] https://github.com/AFNetworking/AFNetworking
[2] http://i.imgur.com/Qtc29Lo.png
[3] 
https://github.com/AFNetworking/AFNetworking/blob/master/AFNetworking/AFURLConnectionOperation.m#L361-L384

-- 
-- 
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.


Raspunde prin e-mail lui