sponsor Vim development Vim logo Vim Book Ad

vimgcwsyntax : Vim Syntax File for Google Code Wiki

 script karma  Rating 7/4, Downloaded by 722  Comments, bugs, improvements  Vim wiki

created by
Silas Silva
 
script type
syntax
 
description
This is a syntax file for Google Code Wiki, supporting highlighting of main features of Google Code Wiki, like:

* Formating (bold, emphasis etc.)
* Code text
* Block links
* Google Code Wiki pragmas
* Titles
* Folding between sections and in code block

Besides syntax and folding features, it has a powerful function for the formatexpr option. Just :set formatexpr=googlecodewiki#FormatExpr() and you will be able to format your texts without breaking link blocks or quote blocks. This features can be turned off with global variables.

You might want to follow its development on its Google Code page: http://code.google.com/p/vimgcwsyntax/
 
install details
Just put it in your syntax directory. In you .vimrc, include the following line to associate .wiki files to the googlecodewiki syntax:

autocmd BufNewFile,BufRead *.wiki set ft=googlecodewiki
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vimgcwsyntax-1.0.tar.gz 1.0 2010-10-04 7.0 Silas Silva Vim Google Syntax File for Google Code Wiki is stable and it is 1.0 now.  Changes include:

* Split syntax and ftplugin functionality in different files.
* Fixed issue 2, that triggered errors when functions were reloaded
* Dropped version for Vim versions lower than 7.
googlecodewiki.vim 0.1 2010-07-30 7.0 Silas Silva Initial upload
ip used for rating: 18.221.41.214

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github