Wednesday, March 12, 2014

Re: ??? mozcpp filetype ???

On 26/02/14 14:03, Fabien Cazenave wrote:
> On 26/02/14 13:52, Tony Mechelynck wrote:
>> I notice a syntax/mozcpp.vim script in my $VIM/vimfiles tree, and the
>> appropriate auxiliary files to recognise that filetype (statements in
>> $VIM/filetype/filetype.vim for C++ sources in or below my Mozilla source
>> repositories) and treat it otherwise as C++ (ftplugin/mozcpp.vim does
>> nothing other than "runtime! ftplugin/cpp.vim").
>>
>> This looks useful to colorize Mozilla extensions to C++ properly
>> (including e.g. many keywords with names starting with PR, NS_ or ns),
>> but I can't remember where I got it from, or how to update it. Any help
>> please? The syntax script is dated 2011-07-22.
>>
>>
>> Best regards,
>> Tony.
>
> Here is the latest version:
> https://github.com/mozfr/mozilla.vim/blob/master/after/syntax/cpp.vim
>
> I'm not working on the Gecko codebase any more so I haven't used this
> file for a while, but I got an update from another Mozillian. The
> comments I left in the code (the `grep' lines) should help updating this
> syntax file.
>
> I'd be happy to review fresh pull requests on this file. I'm awfully
> busy at the moment, but if nobody submits any pull request I'll try to
> update it manually before the end of March.
>
> Cheers,
> Fabien Cazenave (:kazé)
>

Yeah, this looks like a later much reworked version of the same. I don't
do much Gecko programming myself: the few patches I've got checked-in
are mostly one-liner ports from Fx/TB to SeaMonkey, and usually not in C
at that, but that file seemed useful (for Mozilla C/C++ code) and I
thought that after 2½ years it was bound to have evolved.

,
Thanks a lot,
Tony (Antoine Mechelynck, :tonymec)
--
"The church founded by Jesus has not made its way; has not
permeated the world--but did become extinct in the country
of its birth--as Nazarenism and Ebionism."
[Thomas H. Huxley, Letter to Robert Taylor, June 3, 1889]

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment