sponsor Vim development Vim logo Vim Book Ad

bbcode : bbcode syntax and code templates

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

created by
Tom Link
 
script type
utility
 
description
This plugin includes a syntax highlighting for bbcode and some code
skeletons for use with tSkeleton (vimscript #1160).

If viki (vimscript #861) >= 304 is installed, tex regions will be
properly highlighted too.

If you use tSkeleton < 403, you might also want to set these variables:

    let g:tskelKeyword_bbcode = '\(\[\*\|[\[\\][*[:alnum:]]\{-}\)'
    let g:tskelBitGroup_bbcode = ['bbcode', 'tex']

The basic syntax file can also be used without any of these add-ons.

 
install details
Open the vba file and type:

    :so %

See :help vimball for details. If you have difficulties to install this
plugin or if you use vim 7.0, please make sure to use the current
version of vimball (vimscript #1502). You might need to download the
development version from the author's website since previous versions of
vimball had difficulties with certain filenames.

In the meantime (after I made the first release), there is a second
syntax file for bbcode, which you might also want to check out:
vimscript #2109.


Also available via git
http://github.com/tomtom/vimtlib/tree/master
 

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
bbcode.vba.gz 0.2 2008-01-04 7.0 Tom Link Minor tweaks, more templates, made tags upper case,
bbcode.vba.gz 0.1 2007-11-15 7.0 Tom Link Initial upload
ip used for rating: 142.132.191.50

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