sponsor Vim development Vim logo Vim Book Ad

GOBject Builder (gob2) : Syntax and indent for GObject Builder (gob2)

 script karma  Rating 5/2, Downloaded by 770  Comments, bugs, improvements  Vim wiki

created by
Ding-Yi Chen
 
script type
syntax
 
description
Vim syntax and indent files for GObject Builder (gob2)

It works well with gtk-vim-syntax (vimscript #1000) package.

Basically, it depends on c.vim, so change in c.vim will also affect it.
 
install details
For Unix:
1. Extract the package to ~/.vim
2a. If ~/.vim/filetype.vim exists then insert something like:
   augroup filetypedetect
   ............
     au! BufRead,BufNewFile *.gob setfiletype gob
   ...........
   augroup END

   in ~/.vim/filetype.vim

2b. If not, then:
   cd ~/.vim;
   cp filetype.vim.example filetype.vim

========================================================  
For Windows:
1. Extract the package to $HOME/vimfiles
2a. If $HOME/vimfiles/filetype.vim exists then insert something like:
   augroup filetypedetect
   ............
     au! BufRead,BufNewFile *.gob setfiletype gob
   ...........
   augroup END

   in $HOME/vimfiles/filetype.vim

2b. If not, then:
   cd $HOME/vimfiles
   copy filetype.vim.example filetype.vim
 

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
GObjectBuilder.0.5.tar.gz 0.5 2008-03-12 7.0 Ding-Yi Chen Fix align after override, signal, and virtual
Add LONG, object_type, export, link as keyword
GObjectBuilder.0.4.tar.gz 0.4 2008-03-02 7.0 Ding-Yi Chen * Fix align with destroy(with) unref(with)
* Fix indent after %{ tags
* Fix indent of access keyword (public, protected..) after  virtual or override
GObjectBuilder.0.3.tar.gz 0.3 2008-02-20 7.0 Ding-Yi Chen - Better recognition of CBlock (e.g. %headertop{, %alltop{, .... }
- Add ftplugin/gob.vim
ip used for rating: 18.220.187.178

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