BlitzBasic syntax and indentation : Syntax highlighting and indentation for BlitzBasic.
script karma |
Rating 4/1,
Downloaded by 502 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Stefan Schindler |
|
script type |
indent |
|
description |
These two scripts provide syntax highlighting and automatic code indentation for BlitzBasic code. Supported are the Blitz2D and Blitz3D commandsets.
Please note that there's one little bug: I couldn't determine which regular expression to use for if statements to indent correctly. Therefore you always have to write a 'Then' at the end of an if statement - which looks better anyway, in my opinion. ;-) Whatever, if you know how to change the regex to support both versions (with and without 'Then'), feel free to contact me. |
|
install details |
Extract the archive to your ~/.vim directory. Add the following lines to your ~/.vimrc to enable filetype recognition:
augroup filetypedetect
au BufNewFile,BufRead *.bb setf bb
augroup END |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.188.20.56
|