On 03/07/10 20:59, Silas Silva wrote:
Hello all,

Since I didn't find a syntax file for Google Code Wiki (if there is
some, please tell me), I forked flexwiki.vim that comes with the default
distribution of Vim and modified it to match Google Code Wiki rules.
The resulting file is hosted in Google Code:

http://code.google.com/p/vimgcwsyntax/

The syntax file just handle basic features of Google Code Wiki, but I'll
probably improve that over time.  I'm not a Vim syntax writer expert, so
I ask you (if you have time) to take a look at it and improve, make
corrections etc.  I will be very thankful.

After putting this file in ~/.vim/syntax (or whatever your syntax files
are), add this line to ~/.vimrc to make it recognizes *.wiki files as
Google Code Wiki:

     au BufEnter *.wiki set ft=googlecodewiki

In the next days, I'll probably put a more stable version of it among
Vim scripts, in the Vim home page.

Some questions:

1. The original author of flexwiki.vim was George V. Reilly (Cc'ed).  I
    just added added a line with my name and e-mail and let George's
    name and e-mail there, but should I add something like (forked from)
    or whatever?

    Is there any convention for situations like that?

2. Licensing.  Google Code doesn't have the option to chose Vim License.
    I chose LGPL and I don't think there is any conflicts, right?

Thank you very much!


If your syntax script incorporates nothing that's copyrighted by Google (or whomever), then the Google Code license doesn't apply (similarly, the Microsoft license doesn't apply to a script to highlight MASM syntax).

If your script does incorporate code copyrighted by Google, and the Google license is incompatible with the Vim license, then your script can never become an integral part of Vim. At most, in that case, it can remain a "third-party script" which users with a use for it may download under whatever conditions set by your license.

Disclaimer: IANAL, nor do I play one on TV.


Best regards,
Tony.
--
... This striving for excellence extends into people's personal lives
as well.  When '80s people buy something, they buy the best one, as
determined by (1) price and (2) lack of availability.  Eighties people
buy imported dental floss.  They buy gourmet baking soda.  If an '80s
couple goes to a restaurant where they have made a reservation three
weeks in advance, and they are informed that their table is available,
they stalk out immediately, because they know it is not an excellent
restaurant.  If it were, it would have an enormous crowd of
excellence-oriented people like themselves waiting, their beepers going
off like crickets in the night.  An excellent restaurant wouldn't have
a table ready immediately for anybody below the rank of Liza Minnelli.
                -- Dave Barry, "In Search of Excellence"

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

Reply via email to