I'm not sure it's the right place...
Attached to this message is an Objective-c syntax file.
I started from the default syntax file, but it's now almost fully rewritten.
It probably needs some improvements but it looks nice for me :)
Any suggestion will be appreciated !
Feel free to add it to Vim runtime if you think it's good enough.
Regards
Xavier
On Mon, Dec 8, 2008 at 5:54 AM, Xavier Glattard
<xavier....@online.fr> wrote:
> Attached to this message is an Objective-c syntax file.
> I started from the default syntax file, but it's now almost fully rewritten.
> It probably needs some improvements but it looks nice for me :)
> Any suggestion will be appreciated !
Any words on its Obj-C 2.0 [1] support? I just skimmed through it but
Obj-C 2.0 keywords like @property seemed to be missing.
- Jiang
Jjgod Jiang a écrit :
> Hi Xavier,
>
> On Mon, Dec 8, 2008 at 5:54 AM, Xavier Glattard
> <xavier....@online.fr> wrote:
>> Attached to this message is an Objective-c syntax file.
>> I started from the default syntax file, but it's now almost fully rewritten.
>> It probably needs some improvements but it looks nice for me :)
>> Any suggestion will be appreciated !
>
> Any words on its Obj-C 2.0 [1] support? I just skimmed through it but
> Obj-C 2.0 keywords like @property seemed to be missing.
You're right. I didnt think about obj-c 2...
If some keywords are missing, they may be added without difficulty.
Attached is a modified syntax file with (some?) objc-2 support (property...)
The most important addition of this file is the support of message
sending vs c-array (in many cases) : selectors are highligted with the
"Function" style. This was the tricky part. And i improved the message
declaration support.
All other stuff is quite standard.
- Xavier